*: remove "Options:" string from help texts

function                                             old     new   delta
packed_usage                                       28706   28623     -83

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2011-06-05 03:58:28 +02:00
parent 9f7780250c
commit 66426760be
198 changed files with 40 additions and 268 deletions

View File

@@ -11,7 +11,6 @@
//usage: "[-d] [-c CONFDIR] [-l LOGFILE] [-a ACTIONFILE] [-M MAPFILE] [-e PROC_EVENT_FILE] [-p PIDFILE]"
//usage:#define acpid_full_usage "\n\n"
//usage: "Listen to ACPI events and spawn specific helpers on event arrival\n"
//usage: "\nOptions:"
//usage: "\n -c DIR Config directory [/etc/acpi]"
//usage: "\n -d Don't daemonize, (implies -f)"
//usage: "\n -e FILE /proc event file [/proc/acpi/event]"

View File

@@ -19,8 +19,7 @@
//usage:#define blockdev_trivial_usage
//usage: "OPTION BLOCKDEV"
//usage:#define blockdev_full_usage "\n\n"
//usage: "Options:"
//usage: "\n --setro Set ro"
//usage: " --setro Set ro"
//usage: "\n --setrw Set rw"
//usage: "\n --getro Get ro"
//usage: "\n --getss Get sector size"

View File

@@ -13,7 +13,6 @@
//usage: "[-c] [-n LEVEL] [-s SIZE]"
//usage:#define dmesg_full_usage "\n\n"
//usage: "Print or control the kernel ring buffer\n"
//usage: "\nOptions:"
//usage: "\n -c Clear ring buffer after printing"
//usage: "\n -n LEVEL Set console logging level"
//usage: "\n -s SIZE Buffer size"

View File

@@ -9,7 +9,6 @@
//usage: "[-n] DEVICE"
//usage:#define fdformat_full_usage "\n\n"
//usage: "Format floppy disk\n"
//usage: "\nOptions:"
//usage: "\n -n Don't verify after format"
#include "libbb.h"

View File

@@ -18,7 +18,6 @@
//usage: "[-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK"
//usage:#define fdisk_full_usage "\n\n"
//usage: "Change partition table\n"
//usage: "\nOptions:"
//usage: "\n -u Start and End are in sectors (instead of cylinders)"
//usage: "\n -l Show partition table for each DISK, then exit"
//usage: IF_FEATURE_FDISK_BLKSIZE(

View File

@@ -8,7 +8,6 @@
//usage: "[-sxun] FD|{FILE [-c] PROG ARGS}"
//usage:#define flock_full_usage "\n\n"
//usage: "[Un]lock file descriptor, or lock FILE, run PROG\n"
//usage: "\nOptions:"
//usage: "\n -s Shared lock"
//usage: "\n -x Exclusive lock (default)"
//usage: "\n -u Unlock FD"

View File

@@ -91,7 +91,6 @@
//usage: "[-larvsmf] BLOCKDEV"
//usage:#define fsck_minix_full_usage "\n\n"
//usage: "Check MINIX filesystem\n"
//usage: "\nOptions:"
//usage: "\n -l List all filenames"
//usage: "\n -r Perform interactive repairs"
//usage: "\n -a Perform automatic repairs"

View File

@@ -34,9 +34,8 @@
//usage:#define getopt_trivial_usage
//usage: "[OPTIONS]"
//usage:#define getopt_full_usage "\n\n"
//usage: "Options:"
//usage: IF_LONG_OPTS(
//usage: "\n -a,--alternative Allow long options starting with single -"
//usage: " -a,--alternative Allow long options starting with single -"
//usage: "\n -l,--longoptions=longopts Long options to be recognized"
//usage: "\n -n,--name=progname The name under which errors are reported"
//usage: "\n -o,--options=optstring Short options to be recognized"
@@ -47,7 +46,7 @@
//usage: "\n -u,--unquoted Don't quote the output"
//usage: )
//usage: IF_NOT_LONG_OPTS(
//usage: "\n -a Allow long options starting with single -"
//usage: " -a Allow long options starting with single -"
//usage: "\n -l longopts Long options to be recognized"
//usage: "\n -n progname The name under which errors are reported"
//usage: "\n -o optstring Short options to be recognized"

View File

@@ -13,7 +13,6 @@
//usage: "[-bcCdefnosvx" IF_FEATURE_HEXDUMP_REVERSE("R") "] [FILE]..."
//usage:#define hexdump_full_usage "\n\n"
//usage: "Display FILEs (or stdin) in a user specified format\n"
//usage: "\nOptions:"
//usage: "\n -b One-byte octal display"
//usage: "\n -c One-byte character display"
//usage: "\n -C Canonical hex+ASCII, 16 bytes per line"

View File

@@ -263,7 +263,6 @@ static void set_system_clock_timezone(int utc)
//usage: )
//usage:#define hwclock_full_usage "\n\n"
//usage: "Query and set hardware clock (RTC)\n"
//usage: "\nOptions:"
//usage: "\n -r Show hardware clock time"
//usage: "\n -s Set system time from hardware clock"
//usage: "\n -w Set hardware clock from system time"

View File

@@ -13,7 +13,6 @@
//usage:#define ipcrm_full_usage "\n\n"
//usage: "Upper-case options MQS remove an object by shmkey value.\n"
//usage: "Lower-case options remove an object by shmid value.\n"
//usage: "\nOptions:"
//usage: "\n -mM Remove memory segment after last detach"
//usage: "\n -qQ Remove message queue"
//usage: "\n -sS Remove semaphore"

View File

@@ -12,8 +12,7 @@
//usage: " losetup -d LOOPDEV - disassociate\n"
//usage: " losetup [-f] - show"
//usage:#define losetup_full_usage "\n\n"
//usage: "Options:"
//usage: "\n -o OFS Start OFS bytes into FILE"
//usage: " -o OFS Start OFS bytes into FILE"
//usage: "\n -f Show first free loop device"
//usage:
//usage:#define losetup_notes_usage

View File

@@ -67,7 +67,6 @@
//usage: "[-c | -l FILE] [-nXX] [-iXX] BLOCKDEV [KBYTES]"
//usage:#define mkfs_minix_full_usage "\n\n"
//usage: "Make a MINIX filesystem\n"
//usage: "\nOptions:"
//usage: "\n -c Check device for bad blocks"
//usage: "\n -n [14|30] Maximum length of filenames"
//usage: "\n -i INODES Number of inodes for the filesystem"

View File

@@ -11,7 +11,6 @@
//usage: "[-f] [-l LABEL] BLOCKDEV [4K-BLOCKS]"
//usage:#define mkfs_reiser_full_usage "\n\n"
//usage: "Make a ReiserFS V3 filesystem\n"
//usage: "\nOptions:"
//usage: "\n -f Force"
//usage: "\n -l LBL Volume label"

View File

@@ -18,7 +18,6 @@
*/
//usage:#define mkfs_vfat_full_usage "\n\n"
//usage: "Make a FAT32 filesystem\n"
//usage: "\nOptions:"
/* //usage: "\n -c Check device for bad blocks" */
//usage: "\n -v Verbose"
/* //usage: "\n -I Allow to use entire disk device (e.g. /dev/hda)" */

View File

@@ -10,7 +10,6 @@
//usage: "[-L LBL] BLOCKDEV [KBYTES]"
//usage:#define mkswap_full_usage "\n\n"
//usage: "Prepare BLOCKDEV to be used as swap partition\n"
//usage: "\nOptions:"
//usage: "\n -L LBL Label"
#include "libbb.h"

View File

@@ -21,7 +21,6 @@
//usage: "[OPTIONS] [-o OPTS] DEVICE NODE"
//usage:#define mount_full_usage "\n\n"
//usage: "Mount a filesystem. Filesystem autodetection requires /proc.\n"
//usage: "\nOptions:"
//usage: "\n -a Mount all filesystems in fstab"
//usage: IF_FEATURE_MOUNT_FAKE(
//usage: IF_FEATURE_MTAB_SUPPORT(

View File

@@ -12,7 +12,6 @@
//usage: "[-sp] HOST"
//usage:#define rdate_full_usage "\n\n"
//usage: "Get and possibly set the system date and time from a remote HOST\n"
//usage: "\nOptions:"
//usage: "\n -s Set the system date and time (default)"
//usage: "\n -p Print the date and time"

View File

@@ -35,8 +35,7 @@
//usage:#define readprofile_trivial_usage
//usage: "[OPTIONS]"
//usage:#define readprofile_full_usage "\n\n"
//usage: "Options:"
//usage: "\n -m mapfile (Default: /boot/System.map)"
//usage: " -m mapfile (Default: /boot/System.map)"
//usage: "\n -p profile (Default: /proc/profile)"
//usage: "\n -M NUM Set the profiling multiplier to NUM"
//usage: "\n -i Print only info about the sampling step"

View File

@@ -14,8 +14,7 @@
//usage:#define script_trivial_usage
//usage: "[-afq" IF_SCRIPTREPLAY("t") "] [-c PROG] [OUTFILE]"
//usage:#define script_full_usage "\n\n"
//usage: "Options:"
//usage: "\n -a Append output"
//usage: " -a Append output"
//usage: "\n -c PROG Run PROG, not shell"
//usage: "\n -f Flush output after each write"
//usage: "\n -q Quiet"

View File

@@ -11,7 +11,6 @@
//usage: "[-a]" IF_FEATURE_SWAPON_PRI(" [-p PRI]") " [DEVICE]"
//usage:#define swapon_full_usage "\n\n"
//usage: "Start swapping on DEVICE\n"
//usage: "\nOptions:"
//usage: "\n -a Start swapping on all swap devices"
//usage: IF_FEATURE_SWAPON_PRI(
//usage: "\n -p PRI Set swap device priority"
@@ -21,7 +20,6 @@
//usage: "[-a] [DEVICE]"
//usage:#define swapoff_full_usage "\n\n"
//usage: "Stop swapping on DEVICE\n"
//usage: "\nOptions:"
//usage: "\n -a Stop swapping on all swap devices"
#include "libbb.h"

View File

@@ -12,7 +12,6 @@
//usage: "Free initramfs and switch to another root fs:\n"
//usage: "chroot to NEW_ROOT, delete all in /, move NEW_ROOT to /,\n"
//usage: "execute NEW_INIT. PID must be 1. NEW_ROOT must be a mountpoint.\n"
//usage: "\nOptions:"
//usage: "\n -c DEV Reopen stdio to DEV after switch"
#include <sys/vfs.h>

View File

@@ -12,7 +12,6 @@
//usage: "[OPTIONS] FILESYSTEM|DIRECTORY"
//usage:#define umount_full_usage "\n\n"
//usage: "Unmount file systems\n"
//usage: "\nOptions:"
//usage: IF_FEATURE_UMOUNT_ALL(
//usage: "\n -a Unmount all file systems" IF_FEATURE_MTAB_SUPPORT(" in /etc/mtab")
//usage: )