tweak help texts

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2012-06-21 09:45:11 +02:00
parent 2bc495e4c4
commit 1d7ad7a022
2 changed files with 8 additions and 9 deletions

View File

@ -4,14 +4,13 @@
* *
* Copyright (C) 2007 Bernhard Reutner-Fischer * Copyright (C) 2007 Bernhard Reutner-Fischer
* *
* Based on a older version that was in busybox which was 1k big.. * Based on a older version that was in busybox which was 1k big.
* Copyright (C) 2001 by Emanuele Aina <emanuele.aina@tiscali.it> * Copyright (C) 2001 by Emanuele Aina <emanuele.aina@tiscali.it>
* *
* Based on the Debian run-parts program, version 1.15 * Based on the Debian run-parts program, version 1.15
* Copyright (C) 1996 Jeff Noxon <jeff@router.patch.net>, * Copyright (C) 1996 Jeff Noxon <jeff@router.patch.net>,
* Copyright (C) 1996-1999 Guy Maor <maor@debian.org> * Copyright (C) 1996-1999 Guy Maor <maor@debian.org>
* *
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree. * Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/ */
@ -19,7 +18,7 @@
* attempt to write a program! :-) . */ * attempt to write a program! :-) . */
/* This piece of code is heavily based on the original version of run-parts, /* This piece of code is heavily based on the original version of run-parts,
* taken from debian-utils. I've only removed the long options and a the * taken from debian-utils. I've only removed the long options and the
* report mode. As the original run-parts support only long options, I've * report mode. As the original run-parts support only long options, I've
* broken compatibility because the BusyBox policy doesn't allow them. * broken compatibility because the BusyBox policy doesn't allow them.
* The supported options are: * The supported options are:
@ -31,15 +30,15 @@
*/ */
//usage:#define run_parts_trivial_usage //usage:#define run_parts_trivial_usage
//usage: "[-t] "IF_FEATURE_RUN_PARTS_FANCY("[-l] ")"[-a ARG] [-u MASK] DIRECTORY" //usage: "[-t"IF_FEATURE_RUN_PARTS_FANCY("l")"] [-a ARG]... [-u MASK] DIRECTORY"
//usage:#define run_parts_full_usage "\n\n" //usage:#define run_parts_full_usage "\n\n"
//usage: "Run a bunch of scripts in DIRECTORY\n" //usage: "Run a bunch of scripts in DIRECTORY\n"
//usage: "\n -t Print what would be run, but don't actually run anything" //usage: "\n -t Dry run"
//usage: "\n -a ARG Pass ARG as argument for every program"
//usage: "\n -u MASK Set the umask to MASK before running every program"
//usage: IF_FEATURE_RUN_PARTS_FANCY( //usage: IF_FEATURE_RUN_PARTS_FANCY(
//usage: "\n -l Print names of all matching files even if they are not executable" //usage: "\n -l Print names of matching files even if they are not executable"
//usage: ) //usage: )
//usage: "\n -a ARG Pass ARG as argument to programs"
//usage: "\n -u MASK Set umask to MASK before running programs"
//usage: //usage:
//usage:#define run_parts_example_usage //usage:#define run_parts_example_usage
//usage: "$ run-parts -a start /etc/init.d\n" //usage: "$ run-parts -a start /etc/init.d\n"

View File

@ -63,7 +63,7 @@
//usage: " -e CMD Add CMD to sed commands to be executed" //usage: " -e CMD Add CMD to sed commands to be executed"
//usage: "\n -f FILE Add FILE contents to sed commands to be executed" //usage: "\n -f FILE Add FILE contents to sed commands to be executed"
//usage: "\n -i[SFX] Edit files in-place (otherwise sends to stdout)" //usage: "\n -i[SFX] Edit files in-place (otherwise sends to stdout)"
//usage: "\n Optionally backs files up, appending SFX" //usage: "\n Optionally back files up, appending SFX"
//usage: "\n -n Suppress automatic printing of pattern space" //usage: "\n -n Suppress automatic printing of pattern space"
//usage: "\n -r Use extended regex syntax" //usage: "\n -r Use extended regex syntax"
//usage: "\n" //usage: "\n"