summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2001-05-18 23:14:53 +0000
committerEric Andersen2001-05-18 23:14:53 +0000
commit6197c51834c36a36cfc0b9a5cc146e6d79a9f5c9 (patch)
tree16f9f9bd660c984e1058d5d4c9108b00134b9fe0
parentb6967635eb4893e95308f67e0684cfe7d7db0c05 (diff)
downloadbusybox-6197c51834c36a36cfc0b9a5cc146e6d79a9f5c9.zip
busybox-6197c51834c36a36cfc0b9a5cc146e6d79a9f5c9.tar.gz
Fix an escape problem in the docs. Some \n's didn't have the '\'
escaped, and so were messsing the out output. -Erik
-rw-r--r--applets/usage.h4
-rw-r--r--include/usage.h4
-rw-r--r--usage.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/applets/usage.h b/applets/usage.h
index 604661f..9b83297 100644
--- a/applets/usage.h
+++ b/applets/usage.h
@@ -344,8 +344,8 @@
"Erik\n" \
"is\n" \
"cool\n" \
- "$ echo "Erik\nis\ncool"\n" \
- "Erik\nis\ncool\n"
+ "$ echo "Erik\\nis\\ncool"\n" \
+ "Erik\\nis\\ncool\n"
#define env_trivial_usage \
"[-iu] [-] [name=value]... [command]"
diff --git a/include/usage.h b/include/usage.h
index 604661f..9b83297 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -344,8 +344,8 @@
"Erik\n" \
"is\n" \
"cool\n" \
- "$ echo "Erik\nis\ncool"\n" \
- "Erik\nis\ncool\n"
+ "$ echo "Erik\\nis\\ncool"\n" \
+ "Erik\\nis\\ncool\n"
#define env_trivial_usage \
"[-iu] [-] [name=value]... [command]"
diff --git a/usage.h b/usage.h
index 604661f..9b83297 100644
--- a/usage.h
+++ b/usage.h
@@ -344,8 +344,8 @@
"Erik\n" \
"is\n" \
"cool\n" \
- "$ echo "Erik\nis\ncool"\n" \
- "Erik\nis\ncool\n"
+ "$ echo "Erik\\nis\\ncool"\n" \
+ "Erik\\nis\\ncool\n"
#define env_trivial_usage \
"[-iu] [-] [name=value]... [command]"