changeset 17065:e7db46543239

gnulib-tool: Remove no-op option --no-changelog. * gnulib-tool (func_usage): Don't mention --no-changelog. (do_changelog): Remove variable. Reported by Dmitriy Selyutin <ghostman.sd@gmail.com>.
author Bruno Haible <bruno@clisp.org>
date Sun, 26 Aug 2012 17:04:56 +0200
parents 8af8ee2e4c13
children 93874c90adcb
files ChangeLog gnulib-tool
diffstat 2 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-08-26  Bruno Haible  <bruno@clisp.org>
+
+	gnulib-tool: Remove no-op option --no-changelog.
+	* gnulib-tool (func_usage): Don't mention --no-changelog.
+	(do_changelog): Remove variable.
+	Reported by Dmitriy Selyutin <ghostman.sd@gmail.com>.
+
 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
 
 	doc: remove fdl-1.2.texi
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -280,7 +280,6 @@
       --vc-files            Update version control related files.
       --no-vc-files         Don't update version control related files
                             (.gitignore and/or .cvsignore).
-      --no-changelog        Don't update or create ChangeLog files.
 
 Options for --create-[mega]testdir, --[mega]test:
 
@@ -957,7 +956,6 @@
 # - vc_files        true if --vc-files was given, false if --no-vc-files was
 #                   given, blank otherwise
 # - autoconf_minversion  minimum supported autoconf version
-# - do_changelog    false if --no-changelog was given, : otherwise
 # - doit            : if actions shall be executed, false if only to be printed
 # - symbolic        true if --symlink or --more-symlinks was given, blank
 #                   otherwise
@@ -998,7 +996,6 @@
   po_domain=
   witness_c_macro=
   vc_files=
-  do_changelog=:
   doit=:
   symbolic=
   lsymbolic=
@@ -1268,7 +1265,7 @@
         vc_files=false
         shift ;;
       --no-changelog | --no-changelo | --no-changel | --no-change | --no-chang | --no-chan | --no-cha | --no-ch )
-        do_changelog=false
+        # A no-op for backward compatibility.
         shift ;;
       --dry-run )
         doit=false
@@ -1337,7 +1334,6 @@
       echo "you need to use 'gnulib --import' - at your own risk!" 1>&2
       func_exit 1
     fi
-    do_changelog=false
   fi
   if test -n "$pobase" && test -z "$po_domain"; then
     echo "gnulib-tool: together with --po-base, you need to specify --po-domain" 1>&2