make it possible to keep usage texts in .c files

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-06-06 01:53:38 +02:00
parent 6c5bf0d347
commit f0f9470061
5 changed files with 40 additions and 16 deletions

View File

@@ -15,6 +15,8 @@
#define NOUSAGE_STR "\b"
INSERT
#define acpid_trivial_usage \
"[-d] [-c CONFDIR] [-l LOGFILE] [-e PROC_EVENT_FILE] [EVDEV_EVENT_FILE]..."
#define acpid_full_usage "\n\n" \
@@ -234,19 +236,6 @@
"\n -v Verbose" \
"\n -F Don't store or verify checksum" \
#define bunzip2_trivial_usage \
"[OPTIONS] [FILE]..."
#define bunzip2_full_usage "\n\n" \
"Decompress FILEs (or stdin)\n" \
"\nOptions:" \
"\n -c Write to stdout" \
"\n -f Force" \
#define bzcat_trivial_usage \
"FILE"
#define bzcat_full_usage "\n\n" \
"Decompress to stdout"
#define unlzma_trivial_usage \
"[OPTIONS] [FILE]..."
#define unlzma_full_usage "\n\n" \