git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cd965e
)
guestfish: don't try to diagnose getopt failure
author
Jim Meyering
<meyering@redhat.com>
Mon, 24 Aug 2009 09:32:17 +0000
(11:32 +0200)
committer
Jim 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
patch
|
blob
|
history
diff --git
a/fish/fish.c
b/fish/fish.c
index
91c5dad
..
156147a
100644
(file)
--- a/
fish/fish.c
+++ b/
fish/fish.c
@@
-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);
}
}