Fossil SCM

Added missing help text reference to the -o/--options help flag, per [forum:9b3a25eb2b | forum post 9b3a25eb2b].

stephan 2021-12-16 09:43 trunk
Commit 784f147dc457991d271bd1fbd2b79b3d361920581afdd20a795aedbcded2b736
1 file changed +3 -1
+3 -1
--- src/dispatch.c
+++ src/dispatch.c
@@ -594,15 +594,16 @@
594594
** Defaults to just the CLI commands. Specify --www to see only the
595595
** web pages, or --everything to see both commands and pages.
596596
**
597597
** Options:
598598
** -e|--everything Show all commands and pages.
599
-** -t|--test Include test- commands
599
+** -t|--test Include test- commands.
600600
** -w|--www Show WWW pages.
601601
** -s|--settings Show settings.
602602
** -h|--html Transform output to HTML.
603603
** -r|--raw No output formatting.
604
+** -o|--options Show global options.
604605
*/
605606
void test_all_help_cmd(void){
606607
int mask = CMDFLAG_1ST_TIER | CMDFLAG_2ND_TIER;
607608
int useHtml = find_option("html","h",0)!=0;
608609
int rawOut = find_option("raw","r",0)!=0;
@@ -1156,10 +1157,11 @@
11561157
fossil_print("Also consider using:\n");
11571158
fossil_print(" fossil help TOPIC ;# show help on TOPIC\n");
11581159
fossil_print(" fossil help -a ;# show all commands\n");
11591160
fossil_print(" fossil help -w ;# show all web-pages\n");
11601161
fossil_print(" fossil help -s ;# show all settings\n");
1162
+ fossil_print(" fossil help -o ;# show global options\n");
11611163
fossil_exit(1);
11621164
}
11631165
z = pCmd->zHelp;
11641166
if( z==0 ){
11651167
fossil_fatal("no help available for the %s %s",
11661168
--- 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

Keyboard Shortcuts

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