[devscripts] 01/01: manpage-alert: Retain -V as --version
Osamu Aoki
osamu at moszumanska.debian.org
Thu Mar 10 11:24:31 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 a4d33a88641ea610eb233d25dca66be766ece8c6
Author: Osamu Aoki <osamu at debian.org>
Date: Thu Mar 10 20:19:34 2016 +0000
manpage-alert: Retain -V as --version
In the old manpage-alert, only manpage was using -v as --version.
It was in François Wendling's patch which used -v and was never
released. Let's keep it clean.
---
scripts/manpage-alert.1 | 2 +-
scripts/manpage-alert.sh | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/manpage-alert.1 b/scripts/manpage-alert.1
index 5ba1445..833dcf6 100644
--- a/scripts/manpage-alert.1
+++ b/scripts/manpage-alert.1
@@ -14,7 +14,7 @@ If no \fIpaths\fR are specified on the command line, the path list
.BR \-h\fR, \fB\-\-help
Show a summary of options.
.TP
-.BR \-v\fR, \fB\-\-version
+.BR \-V\fR, \fB\-\-version
Show version and copyright information.
.TP
.BR \-f\fR, \fB\-\-file
diff --git a/scripts/manpage-alert.sh b/scripts/manpage-alert.sh
index 4b59554..dea8950 100755
--- a/scripts/manpage-alert.sh
+++ b/scripts/manpage-alert.sh
@@ -22,7 +22,7 @@ usage() {
Usage: manpage-alert [options] [paths]
Options:
-h, --help This usage screen.
- -v, --version Display the version and copyright information.
+ -V, --version Display the version and copyright information.
-f, --file Show filenames of missing manpages
without any leading text.
-p, --package Show filenames of missing manpages
@@ -60,7 +60,7 @@ SHOWSTAT=TRUE
while [ -n "$1" ]; do
case "$1" in
-h|--help) usage; exit 0;;
- -v|-V|--version) version; exit 0;; # -V for backward compatibility
+ -V|--version) version; exit 0;;
-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