Fossil SCM

Document the new -? alias for --help.

danield 2025-11-15 12:32 trunk
Commit ce13c6735e9b3ccacb24c8e7018c9da9ac0ab9390f815f2cadff631c0ecc3dc3
+1 -1
--- src/dispatch.c
+++ src/dispatch.c
@@ -1403,11 +1403,11 @@
14031403
@ --args FILENAME Read additional arguments and options from FILENAME
14041404
@ --case-sensitive BOOL Set case sensitivity for file names
14051405
@ --cgitrace Active CGI tracing
14061406
@ --chdir PATH Change to PATH before performing any operations
14071407
@ --errorlog FILENAME Log errors to FILENAME
1408
-@ --help Show help on the command rather than running it
1408
+@ -?|--help Show help on the command rather than running it
14091409
@ --httptrace Trace outbound HTTP requests
14101410
@ --localtime Display times using the local timezone
14111411
@ --nocgi Do not act as CGI
14121412
@ --no-th-hook Do not run TH1 hooks
14131413
@ --quiet Reduce the amount of output
14141414
--- src/dispatch.c
+++ src/dispatch.c
@@ -1403,11 +1403,11 @@
1403 @ --args FILENAME Read additional arguments and options from FILENAME
1404 @ --case-sensitive BOOL Set case sensitivity for file names
1405 @ --cgitrace Active CGI tracing
1406 @ --chdir PATH Change to PATH before performing any operations
1407 @ --errorlog FILENAME Log errors to FILENAME
1408 @ --help Show help on the command rather than running it
1409 @ --httptrace Trace outbound HTTP requests
1410 @ --localtime Display times using the local timezone
1411 @ --nocgi Do not act as CGI
1412 @ --no-th-hook Do not run TH1 hooks
1413 @ --quiet Reduce the amount of output
1414
--- src/dispatch.c
+++ src/dispatch.c
@@ -1403,11 +1403,11 @@
1403 @ --args FILENAME Read additional arguments and options from FILENAME
1404 @ --case-sensitive BOOL Set case sensitivity for file names
1405 @ --cgitrace Active CGI tracing
1406 @ --chdir PATH Change to PATH before performing any operations
1407 @ --errorlog FILENAME Log errors to FILENAME
1408 @ -?|--help Show help on the command rather than running it
1409 @ --httptrace Trace outbound HTTP requests
1410 @ --localtime Display times using the local timezone
1411 @ --nocgi Do not act as CGI
1412 @ --no-th-hook Do not run TH1 hooks
1413 @ --quiet Reduce the amount of output
1414
--- tools/fossil-autocomplete.zsh
+++ tools/fossil-autocomplete.zsh
@@ -160,11 +160,12 @@
160160
"(--help --args)"--args'[FILENAME Read additional arguments and options from FILENAME]:file:_files'
161161
"(--help --cgitrace)"--cgitrace'[Active CGI tracing]'
162162
"(--help --comfmtflags --comment-format)"--comfmtflags'[VALUE Set comment formatting flags to VALUE]:value:'
163163
"(--help --comment-format --comfmtflags)"--comment-format'[VALUE Alias for --comfmtflags]:value:'
164164
"(--help --errorlog)"--errorlog'[FILENAME Log errors to FILENAME]:file:_files'
165
- "(- --help)"--help'[Show help on the command rather than running it]'
165
+ "(- -? --help)"{-?,--help}
166
+ '[Show help on the command rather than running it]'
166167
"(--help --httptrace)"--httptrace'[Trace outbound HTTP requests]'
167168
"(--help --localtime)"--localtime'[Display times using the local timezone]'
168169
"(--help --no-th-hook)"--no-th-hook'[Do not run TH1 hooks]'
169170
"(--help --quiet)"--quiet'[Reduce the amount of output]'
170171
"(--help --sqlstats)"--sqlstats'[Show SQL usage statistics when done]'
171172
--- tools/fossil-autocomplete.zsh
+++ tools/fossil-autocomplete.zsh
@@ -160,11 +160,12 @@
160 "(--help --args)"--args'[FILENAME Read additional arguments and options from FILENAME]:file:_files'
161 "(--help --cgitrace)"--cgitrace'[Active CGI tracing]'
162 "(--help --comfmtflags --comment-format)"--comfmtflags'[VALUE Set comment formatting flags to VALUE]:value:'
163 "(--help --comment-format --comfmtflags)"--comment-format'[VALUE Alias for --comfmtflags]:value:'
164 "(--help --errorlog)"--errorlog'[FILENAME Log errors to FILENAME]:file:_files'
165 "(- --help)"--help'[Show help on the command rather than running it]'
 
166 "(--help --httptrace)"--httptrace'[Trace outbound HTTP requests]'
167 "(--help --localtime)"--localtime'[Display times using the local timezone]'
168 "(--help --no-th-hook)"--no-th-hook'[Do not run TH1 hooks]'
169 "(--help --quiet)"--quiet'[Reduce the amount of output]'
170 "(--help --sqlstats)"--sqlstats'[Show SQL usage statistics when done]'
171
--- tools/fossil-autocomplete.zsh
+++ tools/fossil-autocomplete.zsh
@@ -160,11 +160,12 @@
160 "(--help --args)"--args'[FILENAME Read additional arguments and options from FILENAME]:file:_files'
161 "(--help --cgitrace)"--cgitrace'[Active CGI tracing]'
162 "(--help --comfmtflags --comment-format)"--comfmtflags'[VALUE Set comment formatting flags to VALUE]:value:'
163 "(--help --comment-format --comfmtflags)"--comment-format'[VALUE Alias for --comfmtflags]:value:'
164 "(--help --errorlog)"--errorlog'[FILENAME Log errors to FILENAME]:file:_files'
165 "(- -? --help)"{-?,--help}
166 '[Show help on the command rather than running it]'
167 "(--help --httptrace)"--httptrace'[Trace outbound HTTP requests]'
168 "(--help --localtime)"--localtime'[Display times using the local timezone]'
169 "(--help --no-th-hook)"--no-th-hook'[Do not run TH1 hooks]'
170 "(--help --quiet)"--quiet'[Reduce the amount of output]'
171 "(--help --sqlstats)"--sqlstats'[Show SQL usage statistics when done]'
172

Keyboard Shortcuts

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