Fossil SCM

Further refinements to the help message that appears when Fossil is invoked with no arguments.

drh 2012-03-11 18:26 trunk
Commit 93f48ce0cb4cf56bd7a98ba8e064a2da8e15ff46
1 file changed +2 -3
+2 -3
--- src/main.c
+++ src/main.c
@@ -446,13 +446,12 @@
446446
g.isHTTP = 1;
447447
}else if( argc<2 ){
448448
fossil_print(
449449
"Usage: %s COMMAND ...\n"
450450
" or: %s help -- for a list of common commands\n"
451
- " or: %s help COMMMAND -- for help with the named command\n"
452
- " or: %s help commands -- for a list of all commands\n",
453
- argv[0], argv[0], argv[0], argv[0]);
451
+ " or: %s help COMMMAND -- for help with the named command\n",
452
+ argv[0], argv[0], argv[0]);
454453
fossil_exit(1);
455454
}else{
456455
g.isHTTP = 0;
457456
g.fQuiet = find_option("quiet", 0, 0)!=0;
458457
g.fSqlTrace = find_option("sqltrace", 0, 0)!=0;
459458
--- src/main.c
+++ src/main.c
@@ -446,13 +446,12 @@
446 g.isHTTP = 1;
447 }else if( argc<2 ){
448 fossil_print(
449 "Usage: %s COMMAND ...\n"
450 " or: %s help -- for a list of common commands\n"
451 " or: %s help COMMMAND -- for help with the named command\n"
452 " or: %s help commands -- for a list of all commands\n",
453 argv[0], argv[0], argv[0], argv[0]);
454 fossil_exit(1);
455 }else{
456 g.isHTTP = 0;
457 g.fQuiet = find_option("quiet", 0, 0)!=0;
458 g.fSqlTrace = find_option("sqltrace", 0, 0)!=0;
459
--- src/main.c
+++ src/main.c
@@ -446,13 +446,12 @@
446 g.isHTTP = 1;
447 }else if( argc<2 ){
448 fossil_print(
449 "Usage: %s COMMAND ...\n"
450 " or: %s help -- for a list of common commands\n"
451 " or: %s help COMMMAND -- for help with the named command\n",
452 argv[0], argv[0], argv[0]);
 
453 fossil_exit(1);
454 }else{
455 g.isHTTP = 0;
456 g.fQuiet = find_option("quiet", 0, 0)!=0;
457 g.fSqlTrace = find_option("sqltrace", 0, 0)!=0;
458

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button