365f5d
diff -up netpbm-10.35.60/editor/ppmfade.ppmfadeusage netpbm-10.35.60/editor/ppmfade
365f5d
--- netpbm-10.35.60/editor/ppmfade.ppmfadeusage	2009-02-27 12:35:26.000000000 +0100
365f5d
+++ netpbm-10.35.60/editor/ppmfade	2009-02-27 12:39:06.000000000 +0100
365f5d
@@ -36,6 +36,8 @@ my $mode = $SPREAD;		# default fading mo
365f5d
 #
365f5d
 #  Check those command line args.
365f5d
 #
365f5d
+sub usage();
365f5d
+
365f5d
 if (@ARGV == 0) {
365f5d
     usage();
365f5d
 }
365f5d
@@ -82,7 +84,7 @@ for ($n = 0; $n < @ARGV; $n++) {
365f5d
         usage();
365f5d
     } else {
365f5d
         print "Unknown argument: $ARGV[$n]\n";
365f5d
-        exit 100;
365f5d
+        exit 1;
365f5d
     } 
365f5d
 }
365f5d
 #
365f5d
@@ -312,5 +314,5 @@ sub usage() {
365f5d
    print "               [-base basename]\n";
365f5d
    print "Notes: Default base: fade\n";
365f5d
    print "       The resulting image files will be named fade.NNNN.ppm.\n";
365f5d
-   exit(100);
365f5d
+   exit 1;
365f5d
 }