svn commit: trunk/busybox/applets
vodz at busybox.net
vodz at busybox.net
Mon Sep 5 11:25:30 UTC 2005
Author: vodz
Date: 2005-09-05 04:25:27 -0700 (Mon, 05 Sep 2005)
New Revision: 11330
Log:
remove infinity loop ./busybox --help busybox
Modified:
trunk/busybox/applets/busybox.c
Changeset:
Modified: trunk/busybox/applets/busybox.c
===================================================================
--- trunk/busybox/applets/busybox.c 2005-09-05 11:04:30 UTC (rev 11329)
+++ trunk/busybox/applets/busybox.c 2005-09-05 11:25:27 UTC (rev 11330)
@@ -110,8 +110,9 @@
/* Deal with --help. (Also print help when called with no arguments) */
if (argc==1 || !strcmp(argv[1],"--help") ) {
- if (argc>2) run_applet_by_name(bb_applet_name=argv[2], argc, argv);
- else {
+ if (argc>2) {
+ run_applet_by_name(bb_applet_name=argv[2], 2, argv);
+ } else {
const struct BB_applet *a;
int col, output_width;
More information about the busybox-cvs
mailing list