瀏覽代碼

Fix usage message not showing short options

Alois Mahdal 8 年之前
父節點
當前提交
593fb0348d
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      src/shellfu/saturnin.sh

+ 4
- 4
src/shellfu/saturnin.sh 查看文件

@@ -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
 }