Fossil SCM
Added missing help text reference to the -o/--options help flag, per [forum:9b3a25eb2b | forum post 9b3a25eb2b].
Commit
784f147dc457991d271bd1fbd2b79b3d361920581afdd20a795aedbcded2b736
Parent
8fee91d40813239…
1 file changed
+3
-1
+3
-1
| --- src/dispatch.c | ||
| +++ src/dispatch.c | ||
| @@ -594,15 +594,16 @@ | ||
| 594 | 594 | ** Defaults to just the CLI commands. Specify --www to see only the |
| 595 | 595 | ** web pages, or --everything to see both commands and pages. |
| 596 | 596 | ** |
| 597 | 597 | ** Options: |
| 598 | 598 | ** -e|--everything Show all commands and pages. |
| 599 | -** -t|--test Include test- commands | |
| 599 | +** -t|--test Include test- commands. | |
| 600 | 600 | ** -w|--www Show WWW pages. |
| 601 | 601 | ** -s|--settings Show settings. |
| 602 | 602 | ** -h|--html Transform output to HTML. |
| 603 | 603 | ** -r|--raw No output formatting. |
| 604 | +** -o|--options Show global options. | |
| 604 | 605 | */ |
| 605 | 606 | void test_all_help_cmd(void){ |
| 606 | 607 | int mask = CMDFLAG_1ST_TIER | CMDFLAG_2ND_TIER; |
| 607 | 608 | int useHtml = find_option("html","h",0)!=0; |
| 608 | 609 | int rawOut = find_option("raw","r",0)!=0; |
| @@ -1156,10 +1157,11 @@ | ||
| 1156 | 1157 | fossil_print("Also consider using:\n"); |
| 1157 | 1158 | fossil_print(" fossil help TOPIC ;# show help on TOPIC\n"); |
| 1158 | 1159 | fossil_print(" fossil help -a ;# show all commands\n"); |
| 1159 | 1160 | fossil_print(" fossil help -w ;# show all web-pages\n"); |
| 1160 | 1161 | fossil_print(" fossil help -s ;# show all settings\n"); |
| 1162 | + fossil_print(" fossil help -o ;# show global options\n"); | |
| 1161 | 1163 | fossil_exit(1); |
| 1162 | 1164 | } |
| 1163 | 1165 | z = pCmd->zHelp; |
| 1164 | 1166 | if( z==0 ){ |
| 1165 | 1167 | fossil_fatal("no help available for the %s %s", |
| 1166 | 1168 |
| --- src/dispatch.c | |
| +++ src/dispatch.c | |
| @@ -594,15 +594,16 @@ | |
| 594 | ** Defaults to just the CLI commands. Specify --www to see only the |
| 595 | ** web pages, or --everything to see both commands and pages. |
| 596 | ** |
| 597 | ** Options: |
| 598 | ** -e|--everything Show all commands and pages. |
| 599 | ** -t|--test Include test- commands |
| 600 | ** -w|--www Show WWW pages. |
| 601 | ** -s|--settings Show settings. |
| 602 | ** -h|--html Transform output to HTML. |
| 603 | ** -r|--raw No output formatting. |
| 604 | */ |
| 605 | void test_all_help_cmd(void){ |
| 606 | int mask = CMDFLAG_1ST_TIER | CMDFLAG_2ND_TIER; |
| 607 | int useHtml = find_option("html","h",0)!=0; |
| 608 | int rawOut = find_option("raw","r",0)!=0; |
| @@ -1156,10 +1157,11 @@ | |
| 1156 | fossil_print("Also consider using:\n"); |
| 1157 | fossil_print(" fossil help TOPIC ;# show help on TOPIC\n"); |
| 1158 | fossil_print(" fossil help -a ;# show all commands\n"); |
| 1159 | fossil_print(" fossil help -w ;# show all web-pages\n"); |
| 1160 | fossil_print(" fossil help -s ;# show all settings\n"); |
| 1161 | fossil_exit(1); |
| 1162 | } |
| 1163 | z = pCmd->zHelp; |
| 1164 | if( z==0 ){ |
| 1165 | fossil_fatal("no help available for the %s %s", |
| 1166 |
| --- src/dispatch.c | |
| +++ src/dispatch.c | |
| @@ -594,15 +594,16 @@ | |
| 594 | ** Defaults to just the CLI commands. Specify --www to see only the |
| 595 | ** web pages, or --everything to see both commands and pages. |
| 596 | ** |
| 597 | ** Options: |
| 598 | ** -e|--everything Show all commands and pages. |
| 599 | ** -t|--test Include test- commands. |
| 600 | ** -w|--www Show WWW pages. |
| 601 | ** -s|--settings Show settings. |
| 602 | ** -h|--html Transform output to HTML. |
| 603 | ** -r|--raw No output formatting. |
| 604 | ** -o|--options Show global options. |
| 605 | */ |
| 606 | void test_all_help_cmd(void){ |
| 607 | int mask = CMDFLAG_1ST_TIER | CMDFLAG_2ND_TIER; |
| 608 | int useHtml = find_option("html","h",0)!=0; |
| 609 | int rawOut = find_option("raw","r",0)!=0; |
| @@ -1156,10 +1157,11 @@ | |
| 1157 | fossil_print("Also consider using:\n"); |
| 1158 | fossil_print(" fossil help TOPIC ;# show help on TOPIC\n"); |
| 1159 | fossil_print(" fossil help -a ;# show all commands\n"); |
| 1160 | fossil_print(" fossil help -w ;# show all web-pages\n"); |
| 1161 | fossil_print(" fossil help -s ;# show all settings\n"); |
| 1162 | fossil_print(" fossil help -o ;# show global options\n"); |
| 1163 | fossil_exit(1); |
| 1164 | } |
| 1165 | z = pCmd->zHelp; |
| 1166 | if( z==0 ){ |
| 1167 | fossil_fatal("no help available for the %s %s", |
| 1168 |