about summary refs log tree commit diff
path: root/editor
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-11-08 18:47:21 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-11-08 18:47:21 +0000
commite5e46721b53c38ad3db57fa508d6db68622744af (patch)
treea2e381dcdd754a891d939764581e546b6faf5cc1 /editor
parent03890c65333369af7b53beb62ac1e025f253ca6c (diff)
downloadnetpbm-mirror-e5e46721b53c38ad3db57fa508d6db68622744af.tar.gz
netpbm-mirror-e5e46721b53c38ad3db57fa508d6db68622744af.tar.xz
netpbm-mirror-e5e46721b53c38ad3db57fa508d6db68622744af.zip
fix bug when user specifies multiple parameters
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@116 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor')
-rwxr-xr-xeditor/pnmflip1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/pnmflip b/editor/pnmflip
index 6149aaa2..44d95b45 100755
--- a/editor/pnmflip
+++ b/editor/pnmflip
@@ -57,6 +57,7 @@ foreach (@ARGV) {
         if (defined($infile)) {
             print(STDERR
                   "You may specify at most one non-option parameter.\n");
+            exit(10);
         } else {
             $infile = $_;
         }