From 68f693ff1db33bf24695f0f42c62e7801966fd06 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 26 Aug 2012 17:04:56 +0200 Subject: [PATCH] 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 . --- ChangeLog | 7 +++++++ gnulib-tool | 6 +----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3d396651d..274db3d3d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-08-26 Bruno Haible + + 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 . + 2012-08-24 Paul Eggert doc: remove fdl-1.2.texi diff --git a/gnulib-tool b/gnulib-tool index 1768916e1..b0373560d 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -280,7 +280,6 @@ Options for --import, --add/remove-import: --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 @@ fi # - 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 @@ fi po_domain= witness_c_macro= vc_files= - do_changelog=: doit=: symbolic= lsymbolic= @@ -1268,7 +1265,7 @@ fi 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 @@ fi 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 -- 2.11.0