[gnumeric] Tools: fix grand-rename's test mode.



commit 0b2b37fffbc9fb42cf9f34a1045542b491b401d4
Author: Morten Welinder <terra gnome org>
Date:   Sat Apr 14 22:05:07 2018 -0400

    Tools: fix grand-rename's test mode.

 tools/grand-rename |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tools/grand-rename b/tools/grand-rename
index b067250..78fc5a9 100644
--- a/tools/grand-rename
+++ b/tools/grand-rename
@@ -16,6 +16,7 @@ while (@ARGV > 0) {
        # Nothing -- this is now the default
     } elsif ($ARGV[0] =~ /^--test/) {
        $doit = 0;
+       scalar shift @ARGV;
     } else {
        last;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]