Browse Source

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

Alois Mahdal 6 years ago
parent
commit
738aa8dc8e
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      packaging/debian/control
  2. 1
    1
      packaging/template.spec
  3. 1
    1
      src/complete.bash.skel

+ 1
- 1
packaging/debian/control View File

@@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 9)
8 8
 
9 9
 Package: saturnin-demo
10 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 12
 Description: __MKIT_PROJ_TAGLINE__
13 13
  saturnin is Shellfu library that helps you easily build toolkit from
14 14
  various scripts that you may have lying around.  Instead of having a

+ 1
- 1
packaging/template.spec View File

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

+ 1
- 1
src/complete.bash.skel View File

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