Ver código fonte

Fix usage message not showing short options

Alois Mahdal 7 anos atrás
pai
commit
593fb0348d
1 arquivos alterados com 4 adições e 4 exclusões
  1. 4
    4
      src/shellfu/saturnin.sh

+ 4
- 4
src/shellfu/saturnin.sh Ver arquivo

@@ -256,10 +256,10 @@ saturnin__usage() {
256 256
     mkusage $es_param                                       \
257 257
             "[options] COMMAND [ARG...]"                    \
258 258
         -o                                                  \
259
-            "--debug    turn on debugging"                  \
260
-            "--help     show this help message and exit"    \
261
-            "--verbose  turn on verbosity"                  \
262
-            "--version  show version and exit"              \
259
+            "-d, --debug    turn on debugging"              \
260
+            "-h, --help     show this help message and exit"\
261
+            "-v, --verbose  turn on verbosity"              \
262
+            "--version      show version and exit"          \
263 263
         -c                                                  \
264 264
             $(saturnin__lssc)
265 265
 }