guestfish: don't try to diagnose getopt failure
authorJim Meyering <meyering@redhat.com>
Mon, 24 Aug 2009 09:32:17 +0000 (11:32 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 24 Aug 2009 16:15:13 +0000 (18:15 +0200)
* fish/fish.c: ... getopt_long already does that.  Instead, suggest
"Try `guestfish --help' for more information."

fish/fish.c

index 91c5dad..156147a 100644 (file)
@@ -326,8 +326,6 @@ main (int argc, char *argv[])
       usage (0);
 
     default:
-      fprintf (stderr, _("%s: unexpected command line option 0x%x\n"),
-               program_name, c);
       usage (1);
     }
   }