Bläddra i källkod

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

Alois Mahdal 8 år sedan
förälder
incheckning
738aa8dc8e
3 ändrade filer med 3 tillägg och 3 borttagningar
  1. 1
    1
      packaging/debian/control
  2. 1
    1
      packaging/template.spec
  3. 1
    1
      src/complete.bash.skel

+ 1
- 1
packaging/debian/control Visa fil

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 Visa fil

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 Visa fil

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
         -*)