[devscripts] 01/01: manpage-altert: Allow -V

Osamu Aoki osamu at moszumanska.debian.org
Wed Mar 9 23:22:28 UTC 2016


This is an automated email from the git hooks/post-receive script.

osamu pushed a commit to branch master
in repository devscripts.

commit 2aa60df2298ed3f8ce9d03e86acf6f42eee7147c
Author: Osamu Aoki <osamu at debian.org>
Date:   Thu Mar 10 08:16:32 2016 +0000

    manpage-altert: Allow -V
    
    The new updated code used -v in code and manpage for --version
    following the old manpage.  In order to keep the backward
    compatibility, -V is added as an alias of -v|--version.
---
 scripts/manpage-alert.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/manpage-alert.sh b/scripts/manpage-alert.sh
index dd0ee3a..4b59554 100755
--- a/scripts/manpage-alert.sh
+++ b/scripts/manpage-alert.sh
@@ -60,7 +60,7 @@ SHOWSTAT=TRUE
 while [ -n "$1" ]; do
     case "$1" in
         -h|--help) usage; exit 0;;
-        -v|--version) version; exit 0;;
+        -v|-V|--version) version; exit 0;; # -V for backward compatibility
         -p|--package) SHOWPACKAGE=PACKAGE
             shift
             ;;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list