Fossil SCM
Swap single-/double-dash convention in [fossil help help] listing to match the other commands. Use single-dash for single-letter option names and double-dash for long option names. (Truth is that either is accepted; this is merely a display issue.)
Commit
03e1850bf12d6bdd4e3d9fc4e4001f03ac3a6001
Parent
81da7b0024a51b9…
1 file changed
+5
-5
+5
-5
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -1047,20 +1047,20 @@ | ||
| 1047 | 1047 | |
| 1048 | 1048 | /* |
| 1049 | 1049 | ** COMMAND: help |
| 1050 | 1050 | ** |
| 1051 | 1051 | ** Usage: %fossil help COMMAND |
| 1052 | -** or: %fossil COMMAND -help | |
| 1052 | +** or: %fossil COMMAND --help | |
| 1053 | 1053 | ** |
| 1054 | 1054 | ** Display information on how to use COMMAND. To display a list of |
| 1055 | 1055 | ** available commands one of: |
| 1056 | 1056 | ** |
| 1057 | 1057 | ** %fossil help Show common commands |
| 1058 | -** %fossil help --a|-all Show both common and auxiliary commands | |
| 1059 | -** %fossil help --t|-test Show test commands only | |
| 1060 | -** %fossil help --x|-aux Show auxiliary commands only | |
| 1061 | -** %fossil help --w|-www Show list of WWW pages | |
| 1058 | +** %fossil help -a|--all Show both common and auxiliary commands | |
| 1059 | +** %fossil help -t|--test Show test commands only | |
| 1060 | +** %fossil help -x|--aux Show auxiliary commands only | |
| 1061 | +** %fossil help -w|--www Show list of WWW pages | |
| 1062 | 1062 | */ |
| 1063 | 1063 | void help_cmd(void){ |
| 1064 | 1064 | int rc, idx, isPage = 0; |
| 1065 | 1065 | const char *z; |
| 1066 | 1066 | const char *zCmdOrPage; |
| 1067 | 1067 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -1047,20 +1047,20 @@ | |
| 1047 | |
| 1048 | /* |
| 1049 | ** COMMAND: help |
| 1050 | ** |
| 1051 | ** Usage: %fossil help COMMAND |
| 1052 | ** or: %fossil COMMAND -help |
| 1053 | ** |
| 1054 | ** Display information on how to use COMMAND. To display a list of |
| 1055 | ** available commands one of: |
| 1056 | ** |
| 1057 | ** %fossil help Show common commands |
| 1058 | ** %fossil help --a|-all Show both common and auxiliary commands |
| 1059 | ** %fossil help --t|-test Show test commands only |
| 1060 | ** %fossil help --x|-aux Show auxiliary commands only |
| 1061 | ** %fossil help --w|-www Show list of WWW pages |
| 1062 | */ |
| 1063 | void help_cmd(void){ |
| 1064 | int rc, idx, isPage = 0; |
| 1065 | const char *z; |
| 1066 | const char *zCmdOrPage; |
| 1067 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -1047,20 +1047,20 @@ | |
| 1047 | |
| 1048 | /* |
| 1049 | ** COMMAND: help |
| 1050 | ** |
| 1051 | ** Usage: %fossil help COMMAND |
| 1052 | ** or: %fossil COMMAND --help |
| 1053 | ** |
| 1054 | ** Display information on how to use COMMAND. To display a list of |
| 1055 | ** available commands one of: |
| 1056 | ** |
| 1057 | ** %fossil help Show common commands |
| 1058 | ** %fossil help -a|--all Show both common and auxiliary commands |
| 1059 | ** %fossil help -t|--test Show test commands only |
| 1060 | ** %fossil help -x|--aux Show auxiliary commands only |
| 1061 | ** %fossil help -w|--www Show list of WWW pages |
| 1062 | */ |
| 1063 | void help_cmd(void){ |
| 1064 | int rc, idx, isPage = 0; |
| 1065 | const char *z; |
| 1066 | const char *zCmdOrPage; |
| 1067 |