浏览代码

Add -V option to completion script (Saturnin v0.4.6+)

Alois Mahdal 7 年前
父节点
当前提交
738aa8dc8e
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1
    1
      packaging/debian/control
  2. 1
    1
      packaging/template.spec
  3. 1
    1
      src/complete.bash.skel

+ 1
- 1
packaging/debian/control 查看文件

8
 
8
 
9
 Package: saturnin-demo
9
 Package: saturnin-demo
10
 Architecture: all
10
 Architecture: all
11
-Depends: shellfu-bash, shellfu-bash-core, shellfu-bash-saturnin
11
+Depends: shellfu-bash, shellfu-bash-core, shellfu-bash-saturnin (>= 0.4.6)
12
 Description: __MKIT_PROJ_TAGLINE__
12
 Description: __MKIT_PROJ_TAGLINE__
13
  saturnin is Shellfu library that helps you easily build toolkit from
13
  saturnin is Shellfu library that helps you easily build toolkit from
14
  various scripts that you may have lying around.  Instead of having a
14
  various scripts that you may have lying around.  Instead of having a

+ 1
- 1
packaging/template.spec 查看文件

10
 BuildRequires:	coreutils git
10
 BuildRequires:	coreutils git
11
 Requires:	shellfu-bash
11
 Requires:	shellfu-bash
12
 Requires:	shellfu-bash-core
12
 Requires:	shellfu-bash-core
13
-Requires:	shellfu-bash-saturnin
13
+Requires:	shellfu-bash-saturnin >= 0.4.6
14
 
14
 
15
 %description
15
 %description
16
 saturnin is Shellfu library that helps you easily build toolkit from
16
 saturnin is Shellfu library that helps you easily build toolkit from

+ 1
- 1
src/complete.bash.skel 查看文件

8
     local cur opts sopts
8
     local cur opts sopts
9
     COMPREPLY=()
9
     COMPREPLY=()
10
     cur="${COMP_WORDS[COMP_CWORD]}"
10
     cur="${COMP_WORDS[COMP_CWORD]}"
11
-    sopts="-d -h -v"
11
+    sopts="-D -V -d -h -v"
12
     opts="--full-debug --help --verbose --debug --version --version-semver"
12
     opts="--full-debug --help --verbose --debug --version --version-semver"
13
     case "$cur" in
13
     case "$cur" in
14
         -*)
14
         -*)