[git commit] getopt: trim help text

Denys Vlasenko vda.linux at googlemail.com
Thu Feb 9 17:39:16 UTC 2012


commit: http://git.busybox.net/busybox/commit/?id=817c230a0c1b5817cbd0af86f1bd90db72f16c3c
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 util-linux/getopt.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/util-linux/getopt.c b/util-linux/getopt.c
index 6bad3ef..d662c81 100644
--- 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"


More information about the busybox-cvs mailing list