[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnupload: Support -h
From: |
Bruno Haible |
Subject: |
Re: gnupload: Support -h |
Date: |
Sat, 01 Dec 2018 16:30:55 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-138-generic; KDE/5.18.0; x86_64; ; ) |
Ben Elliston wrote:
> The first time I ran gnupload, I used -h and got an error. ;-) This
> patch adds -h as an alias for --help.
Normally it's Jim who reviews patches to gnupload. He hasn't reacted
in 3 days. But the patch is obviously OK. So I am putting it in -
and documenting the option as well.
2018-12-01 Bruno Haible <address@hidden>
gnupload: Document short options.
* build-aux/gnupload (usage): Document the short options.
diff --git a/build-aux/gnupload b/build-aux/gnupload
index 64f9218..801cf75 100755
--- a/build-aux/gnupload
+++ b/build-aux/gnupload
@@ -77,10 +77,10 @@ Options:
--user NAME sign with key NAME
--replace allow replacements of existing files
--symlink-regex[=EXPR] use sed script EXPR to compute symbolic link names
- --dry-run do nothing, show what would have been done
+ -n, --dry-run do nothing, show what would have been done
(including the constructed directive file)
--version output version information and exit
- --help print this help text and exit
+ -h, --help print this help text and exit
If --symlink-regex is given without EXPR, then the link target name
is created by replacing the version information with '-latest', e.g.:
@@ -194,7 +194,7 @@ while test -n "$1"; do
--symlink)
collect_var=symlink_files
;;
- --dry-run|-n)
+ -n | --dry-run)
dry_run=:
;;
--version)
- Re: gnupload: Support -h,
Bruno Haible <=