[PATCH] run-parts: correct usage after 1e43a381b2

Peter Korsgaard jacmet at sunsite.dk
Thu Feb 28 10:15:28 UTC 2013


Commit 1e43a381 (run-parts: stop providing incompatible short options)
replaced some of the dashes in the usage output with funky unicode versions,
causing garbled output on simple terminals.

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 debianutils/run_parts.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debianutils/run_parts.c b/debianutils/run_parts.c
index 916aa90..2c2b032 100644
--- a/debianutils/run_parts.c
+++ b/debianutils/run_parts.c
@@ -25,16 +25,16 @@
 
 //usage:#define run_parts_trivial_usage
 //usage:       "[-a ARG]... [-u UMASK] "
-//usage:       IF_FEATURE_RUN_PARTS_LONG_OPTIONS("[--reverse] [--test] [-−exit−on−error] "IF_FEATURE_RUN_PARTS_FANCY("[--list] "))
+//usage:       IF_FEATURE_RUN_PARTS_LONG_OPTIONS("[--reverse] [--test] [--exit-on-error] "IF_FEATURE_RUN_PARTS_FANCY("[--list] "))
 //usage:       "DIRECTORY"
 //usage:#define run_parts_full_usage "\n\n"
 //usage:       "Run a bunch of scripts in DIRECTORY\n"
 //usage:     "\n	-a ARG		Pass ARG as argument to scripts"
 //usage:     "\n	-u UMASK	Set UMASK before running scripts"
 //usage:	IF_FEATURE_RUN_PARTS_LONG_OPTIONS(
-//usage:     "\n	-−reverse	Reverse execution order"
+//usage:     "\n	--reverse	Reverse execution order"
 //usage:     "\n	--test		Dry run"
-//usage:     "\n	-−exit−on−error	Exit if a script exits with non-zero"
+//usage:     "\n	--exit-on-error	Exit if a script exits with non-zero"
 //usage:	IF_FEATURE_RUN_PARTS_FANCY(
 //usage:     "\n	--list		Print names of matching files even if they are not executable"
 //usage:	)
-- 
1.7.10.4



More information about the busybox mailing list