changeset 21:31f6639b7a77

Rename -O long option --*-options to --options both in hg2cl and svn2cl.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 20 May 2020 12:44:33 +0300
parents 627a2524520d
children 94da1cdc957c
files hg2cl svn2cl
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hg2cl	Wed May 20 12:42:41 2020 +0300
+++ b/hg2cl	Wed May 20 12:44:33 2020 +0300
@@ -65,7 +65,7 @@
       INCLUDEREV="yes";
       shift
       ;;
-    -O|--hg-options)
+    -O|--options)
       EXTRAOPTS="$2"
       shift 2
       ;;
@@ -99,7 +99,7 @@
       echo "  -r, --include-rev      include revision numbers"
       echo "  -o, --output FILE      output to FILE instead of ChangeLog"
       echo "  --stdout               output to stdout instead of ChangeLog"
-      echo "  -O, --hg-options OPTS  options passed to Mercurial"
+      echo "  -O, --options OPTS     options passed to Mercurial"
       echo "  -h, --help             display this help and exit"
       echo "  -V, --version          output version information and exit"
       exit 0
--- a/svn2cl	Wed May 20 12:42:41 2020 +0300
+++ b/svn2cl	Wed May 20 12:44:33 2020 +0300
@@ -64,7 +64,7 @@
       INCLUDEREV="yes";
       shift
       ;;
-    -O|--svn-options)
+    -O|--options)
       EXTRAOPTS="$2"
       shift 2
       ;;
@@ -97,7 +97,7 @@
       echo "  -r, --include-rev      include revision numbers"
       echo "  -o, --output FILE      output to FILE instead of ChangeLog"
       echo "  --stdout               output to stdout instead of ChangeLog"
-      echo "  -O, --svn-options OPT  options passed to Subversion"
+      echo "  -O, --options OPT      options passed to Subversion"
       echo "  -h, --help             display this help and exit"
       echo "  -V, --version          output version information and exit"
       exit 0