Fossil SCM
Added notes about --args FILENAME to default help message, per ML request.
Commit
0e5bbade2c403dadcf50375f94a485ccf7efc85e
Parent
305e3951cc08685…
1 file changed
+11
+11
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -545,10 +545,21 @@ | ||
| 545 | 545 | fossil_print( |
| 546 | 546 | "Usage: %s COMMAND ...\n" |
| 547 | 547 | " or: %s help -- for a list of common commands\n" |
| 548 | 548 | " or: %s help COMMMAND -- for help with the named command\n", |
| 549 | 549 | g.argv[0], g.argv[0], g.argv[0]); |
| 550 | + fossil_print( | |
| 551 | + "\nCommands and filenames may be passed on to fossil from a file\n" | |
| 552 | + "by using:\n" | |
| 553 | + "\n %s --args FILENAME ...\n", | |
| 554 | + g.argv[0] | |
| 555 | + ); | |
| 556 | + fossil_print( | |
| 557 | + "\nEach line of the file is assumed to be a filename unles it starts\n" | |
| 558 | + "with '-' and contains a space, in which case it is assumed to be\n" | |
| 559 | + "another flag and is treated as such. --args FILENAME may be used\n" | |
| 560 | + "in conjunction with any other flags.\n"); | |
| 550 | 561 | fossil_exit(1); |
| 551 | 562 | }else{ |
| 552 | 563 | const char *zChdir = find_option("chdir",0,1); |
| 553 | 564 | g.isHTTP = 0; |
| 554 | 565 | g.fQuiet = find_option("quiet", 0, 0)!=0; |
| 555 | 566 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -545,10 +545,21 @@ | |
| 545 | fossil_print( |
| 546 | "Usage: %s COMMAND ...\n" |
| 547 | " or: %s help -- for a list of common commands\n" |
| 548 | " or: %s help COMMMAND -- for help with the named command\n", |
| 549 | g.argv[0], g.argv[0], g.argv[0]); |
| 550 | fossil_exit(1); |
| 551 | }else{ |
| 552 | const char *zChdir = find_option("chdir",0,1); |
| 553 | g.isHTTP = 0; |
| 554 | g.fQuiet = find_option("quiet", 0, 0)!=0; |
| 555 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -545,10 +545,21 @@ | |
| 545 | fossil_print( |
| 546 | "Usage: %s COMMAND ...\n" |
| 547 | " or: %s help -- for a list of common commands\n" |
| 548 | " or: %s help COMMMAND -- for help with the named command\n", |
| 549 | g.argv[0], g.argv[0], g.argv[0]); |
| 550 | fossil_print( |
| 551 | "\nCommands and filenames may be passed on to fossil from a file\n" |
| 552 | "by using:\n" |
| 553 | "\n %s --args FILENAME ...\n", |
| 554 | g.argv[0] |
| 555 | ); |
| 556 | fossil_print( |
| 557 | "\nEach line of the file is assumed to be a filename unles it starts\n" |
| 558 | "with '-' and contains a space, in which case it is assumed to be\n" |
| 559 | "another flag and is treated as such. --args FILENAME may be used\n" |
| 560 | "in conjunction with any other flags.\n"); |
| 561 | fossil_exit(1); |
| 562 | }else{ |
| 563 | const char *zChdir = find_option("chdir",0,1); |
| 564 | g.isHTTP = 0; |
| 565 | g.fQuiet = find_option("quiet", 0, 0)!=0; |
| 566 |