changeset 39986:df9f93402084

gnupload: Document short options. * build-aux/gnupload (usage): Document the short options.
author Bruno Haible <bruno@clisp.org>
date Sat, 01 Dec 2018 16:28:17 +0100
parents e7c2ffa6c8fa
children 1aff882fbc8e
files ChangeLog build-aux/gnupload
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Nov 28 18:00:51 2018 +1100
+++ b/ChangeLog	Sat Dec 01 16:28:17 2018 +0100
@@ -1,3 +1,8 @@
+2018-12-01  Bruno Haible  <bruno@clisp.org>
+
+	gnupload: Document short options.
+	* build-aux/gnupload (usage): Document the short options.
+
 2018-11-28  Ben Elliston  <bje@gnu.org>
 
 	gnupload: Support option -h as alias of --help.
--- a/build-aux/gnupload	Wed Nov 28 18:00:51 2018 +1100
+++ b/build-aux/gnupload	Sat Dec 01 16:28:17 2018 +0100
@@ -77,10 +77,10 @@
   --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 @@
     --symlink)
       collect_var=symlink_files
       ;;
-    --dry-run|-n)
+    -n | --dry-run)
       dry_run=:
       ;;
     --version)