Fossil SCM
Document the new -? alias for --help.
Commit
ce13c6735e9b3ccacb24c8e7018c9da9ac0ab9390f815f2cadff631c0ecc3dc3
Parent
30eb891227b4381…
2 files changed
+1
-1
+2
-1
+1
-1
| --- src/dispatch.c | ||
| +++ src/dispatch.c | ||
| @@ -1403,11 +1403,11 @@ | ||
| 1403 | 1403 | @ --args FILENAME Read additional arguments and options from FILENAME |
| 1404 | 1404 | @ --case-sensitive BOOL Set case sensitivity for file names |
| 1405 | 1405 | @ --cgitrace Active CGI tracing |
| 1406 | 1406 | @ --chdir PATH Change to PATH before performing any operations |
| 1407 | 1407 | @ --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 | |
| 1409 | 1409 | @ --httptrace Trace outbound HTTP requests |
| 1410 | 1410 | @ --localtime Display times using the local timezone |
| 1411 | 1411 | @ --nocgi Do not act as CGI |
| 1412 | 1412 | @ --no-th-hook Do not run TH1 hooks |
| 1413 | 1413 | @ --quiet Reduce the amount of output |
| 1414 | 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 |
| --- 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 |
+2
-1
| --- tools/fossil-autocomplete.zsh | ||
| +++ tools/fossil-autocomplete.zsh | ||
| @@ -160,11 +160,12 @@ | ||
| 160 | 160 | "(--help --args)"--args'[FILENAME Read additional arguments and options from FILENAME]:file:_files' |
| 161 | 161 | "(--help --cgitrace)"--cgitrace'[Active CGI tracing]' |
| 162 | 162 | "(--help --comfmtflags --comment-format)"--comfmtflags'[VALUE Set comment formatting flags to VALUE]:value:' |
| 163 | 163 | "(--help --comment-format --comfmtflags)"--comment-format'[VALUE Alias for --comfmtflags]:value:' |
| 164 | 164 | "(--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]' | |
| 166 | 167 | "(--help --httptrace)"--httptrace'[Trace outbound HTTP requests]' |
| 167 | 168 | "(--help --localtime)"--localtime'[Display times using the local timezone]' |
| 168 | 169 | "(--help --no-th-hook)"--no-th-hook'[Do not run TH1 hooks]' |
| 169 | 170 | "(--help --quiet)"--quiet'[Reduce the amount of output]' |
| 170 | 171 | "(--help --sqlstats)"--sqlstats'[Show SQL usage statistics when done]' |
| 171 | 172 |
| --- 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 |