aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-06-21 09:45:11 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2012-06-21 09:45:11 +0200
commit1d7ad7a022bf894e89904832a0c84f14c8ca2d31 (patch)
treed7ca8ba84a8d9c230aaaf7f368417686b5d32991
parent2bc495e4c402d9bc74c42ea01b7891356917d06e (diff)
downloadbusybox-w32-1d7ad7a022bf894e89904832a0c84f14c8ca2d31.tar.gz
busybox-w32-1d7ad7a022bf894e89904832a0c84f14c8ca2d31.tar.bz2
busybox-w32-1d7ad7a022bf894e89904832a0c84f14c8ca2d31.zip
tweak help texts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--debianutils/run_parts.c15
-rw-r--r--editors/sed.c2
2 files changed, 8 insertions, 9 deletions
diff --git a/debianutils/run_parts.c b/debianutils/run_parts.c
index 8f08f6dc6..005b30420 100644
--- a/debianutils/run_parts.c
+++ b/debianutils/run_parts.c
@@ -4,14 +4,13 @@
4 * 4 *
5 * Copyright (C) 2007 Bernhard Reutner-Fischer 5 * Copyright (C) 2007 Bernhard Reutner-Fischer
6 * 6 *
7 * Based on a older version that was in busybox which was 1k big.. 7 * Based on a older version that was in busybox which was 1k big.
8 * Copyright (C) 2001 by Emanuele Aina <emanuele.aina@tiscali.it> 8 * Copyright (C) 2001 by Emanuele Aina <emanuele.aina@tiscali.it>
9 * 9 *
10 * Based on the Debian run-parts program, version 1.15 10 * Based on the Debian run-parts program, version 1.15
11 * Copyright (C) 1996 Jeff Noxon <jeff@router.patch.net>, 11 * Copyright (C) 1996 Jeff Noxon <jeff@router.patch.net>,
12 * Copyright (C) 1996-1999 Guy Maor <maor@debian.org> 12 * Copyright (C) 1996-1999 Guy Maor <maor@debian.org>
13 * 13 *
14 *
15 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 14 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
16 */ 15 */
17 16
@@ -19,7 +18,7 @@
19 * attempt to write a program! :-) . */ 18 * attempt to write a program! :-) . */
20 19
21/* This piece of code is heavily based on the original version of run-parts, 20/* This piece of code is heavily based on the original version of run-parts,
22 * taken from debian-utils. I've only removed the long options and a the 21 * taken from debian-utils. I've only removed the long options and the
23 * report mode. As the original run-parts support only long options, I've 22 * report mode. As the original run-parts support only long options, I've
24 * broken compatibility because the BusyBox policy doesn't allow them. 23 * broken compatibility because the BusyBox policy doesn't allow them.
25 * The supported options are: 24 * The supported options are:
@@ -31,15 +30,15 @@
31 */ 30 */
32 31
33//usage:#define run_parts_trivial_usage 32//usage:#define run_parts_trivial_usage
34//usage: "[-t] "IF_FEATURE_RUN_PARTS_FANCY("[-l] ")"[-a ARG] [-u MASK] DIRECTORY" 33//usage: "[-t"IF_FEATURE_RUN_PARTS_FANCY("l")"] [-a ARG]... [-u MASK] DIRECTORY"
35//usage:#define run_parts_full_usage "\n\n" 34//usage:#define run_parts_full_usage "\n\n"
36//usage: "Run a bunch of scripts in DIRECTORY\n" 35//usage: "Run a bunch of scripts in DIRECTORY\n"
37//usage: "\n -t Print what would be run, but don't actually run anything" 36//usage: "\n -t Dry run"
38//usage: "\n -a ARG Pass ARG as argument for every program"
39//usage: "\n -u MASK Set the umask to MASK before running every program"
40//usage: IF_FEATURE_RUN_PARTS_FANCY( 37//usage: IF_FEATURE_RUN_PARTS_FANCY(
41//usage: "\n -l Print names of all matching files even if they are not executable" 38//usage: "\n -l Print names of matching files even if they are not executable"
42//usage: ) 39//usage: )
40//usage: "\n -a ARG Pass ARG as argument to programs"
41//usage: "\n -u MASK Set umask to MASK before running programs"
43//usage: 42//usage:
44//usage:#define run_parts_example_usage 43//usage:#define run_parts_example_usage
45//usage: "$ run-parts -a start /etc/init.d\n" 44//usage: "$ run-parts -a start /etc/init.d\n"
diff --git a/editors/sed.c b/editors/sed.c
index 652aaf573..42d8e17c6 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -63,7 +63,7 @@
63//usage: " -e CMD Add CMD to sed commands to be executed" 63//usage: " -e CMD Add CMD to sed commands to be executed"
64//usage: "\n -f FILE Add FILE contents to sed commands to be executed" 64//usage: "\n -f FILE Add FILE contents to sed commands to be executed"
65//usage: "\n -i[SFX] Edit files in-place (otherwise sends to stdout)" 65//usage: "\n -i[SFX] Edit files in-place (otherwise sends to stdout)"
66//usage: "\n Optionally backs files up, appending SFX" 66//usage: "\n Optionally back files up, appending SFX"
67//usage: "\n -n Suppress automatic printing of pattern space" 67//usage: "\n -n Suppress automatic printing of pattern space"
68//usage: "\n -r Use extended regex syntax" 68//usage: "\n -r Use extended regex syntax"
69//usage: "\n" 69//usage: "\n"