aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-04-16 04:23:58 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-04-16 04:23:58 +0000
commitcdc31e7af53136fb35d2c1bfe4db80df8522f5a4 (patch)
tree6854547a2647610b216b687d9409575926d7fa2a
parente4e87c1b278d74ae484b751bf34b66d7072cf1e4 (diff)
downloadbusybox-w32-cdc31e7af53136fb35d2c1bfe4db80df8522f5a4.tar.gz
busybox-w32-cdc31e7af53136fb35d2c1bfe4db80df8522f5a4.tar.bz2
busybox-w32-cdc31e7af53136fb35d2c1bfe4db80df8522f5a4.zip
In Bug 207, bernhardf writes:
proper escape strings in usage.h git-svn-id: svn://busybox.net/trunk/busybox@10112 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--include/usage.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/usage.h b/include/usage.h
index 940d0deff..6d594dc01 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -523,13 +523,13 @@
523 "\t-e\tinterpret backslash-escaped characters (i.e., \\t=tab)\n" \ 523 "\t-e\tinterpret backslash-escaped characters (i.e., \\t=tab)\n" \
524 "\t-E\tdisable interpretation of backslash-escaped characters") 524 "\t-E\tdisable interpretation of backslash-escaped characters")
525#define echo_example_usage \ 525#define echo_example_usage \
526 "$ echo "Erik is cool"\n" \ 526 "$ echo \"Erik is cool\"\n" \
527 "Erik is cool\n" \ 527 "Erik is cool\n" \
528 USAGE_FANCY_ECHO("$ echo -e "Erik\\nis\\ncool"\n" \ 528 USAGE_FANCY_ECHO("$ echo -e \"Erik\\nis\\ncool\"\n" \
529 "Erik\n" \ 529 "Erik\n" \
530 "is\n" \ 530 "is\n" \
531 "cool\n" \ 531 "cool\n" \
532 "$ echo "Erik\\nis\\ncool"\n" \ 532 "$ echo \"Erik\\nis\\ncool\"\n" \
533 "Erik\\nis\\ncool\n") 533 "Erik\\nis\\ncool\n")
534 534
535#define env_trivial_usage \ 535#define env_trivial_usage \
@@ -752,7 +752,7 @@
752 "$ cat getopt.test\n" \ 752 "$ cat getopt.test\n" \
753 "#!/bin/sh\n" \ 753 "#!/bin/sh\n" \
754 "GETOPT=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \\\n" \ 754 "GETOPT=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \\\n" \
755 " -n 'example.busybox' -- "$@"`\n" \ 755 " -n 'example.busybox' -- \"$@\"`\n" \
756 "if [ $? != 0 ] ; then exit 1 ; fi\n" \ 756 "if [ $? != 0 ] ; then exit 1 ; fi\n" \
757 "eval set -- "$GETOPT"\n" \ 757 "eval set -- "$GETOPT"\n" \
758 "while true ; do\n" \ 758 "while true ; do\n" \
@@ -1948,7 +1948,7 @@
1948 "Formats and prints ARGUMENT(s) according to FORMAT,\n" \ 1948 "Formats and prints ARGUMENT(s) according to FORMAT,\n" \
1949 "Where FORMAT controls the output exactly as in C printf." 1949 "Where FORMAT controls the output exactly as in C printf."
1950#define printf_example_usage \ 1950#define printf_example_usage \
1951 "$ printf "Val=%d\\n" 5\n" \ 1951 "$ printf \"Val=%d\\n\" 5\n" \
1952 "Val=5\n" 1952 "Val=5\n"
1953 1953
1954#ifdef CONFIG_SELINUX 1954#ifdef CONFIG_SELINUX