projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d022250
)
getopt: trim help text
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 9 Feb 2012 17:39:16 +0000
(18:39 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 9 Feb 2012 17:39:16 +0000
(18:39 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/getopt.c
patch
|
blob
|
history
diff --git
a/util-linux/getopt.c
b/util-linux/getopt.c
index 6bad3efc272e942174c7f6daa4a6b4eb7f8524ec..d662c813ae4c27f57e4c6295424b3515241e0506 100644
(file)
--- a/
util-linux/getopt.c
+++ b/
util-linux/getopt.c
@@
-59,8
+59,7
@@
//usage: "\n"
//usage: "\nExample:"
//usage: "\n"
-//usage: "\nO=`getopt -l bb: -- ab:c:: \"$@\"`"
-//usage: "\n[ $? = 0 ] || exit 1"
+//usage: "\nO=`getopt -l bb: -- ab:c:: \"$@\"` || exit 1"
//usage: "\neval set -- \"$O\""
//usage: "\nwhile true; do"
//usage: "\n case \"$1\" in"