summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2015-01-24 19:46:45 +0100
committerDenys Vlasenko2015-01-24 19:46:45 +0100
commit86031a5ffd106b8128f5763d32c273b96875f707 (patch)
treea1d310cac3b1727f22004f6b30a600c5498252cb
parent9de69c024c7c47f3f8733dbc7c9522966fcd73a9 (diff)
downloadbusybox-86031a5ffd106b8128f5763d32c273b96875f707.zip
busybox-86031a5ffd106b8128f5763d32c273b96875f707.tar.gz
trim extra newlines in help texts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--console-tools/loadkmap.c5
-rw-r--r--coreutils/basename.c2
-rw-r--r--procps/powertop.c2
-rw-r--r--procps/pwdx.c2
4 files changed, 6 insertions, 5 deletions
diff --git a/console-tools/loadkmap.c b/console-tools/loadkmap.c
index 66ec3b0..6dcf813 100644
--- a/console-tools/loadkmap.c
+++ b/console-tools/loadkmap.c
@@ -10,8 +10,9 @@
//usage:#define loadkmap_trivial_usage
//usage: "< keymap"
//usage:#define loadkmap_full_usage "\n\n"
-//usage: "Load a binary keyboard translation table from stdin\n"
-/* //usage: "\n -C TTY Affect TTY instead of /dev/tty" */
+//usage: "Load a binary keyboard translation table from stdin"
+////usage: "\n"
+////usage: "\n -C TTY Affect TTY instead of /dev/tty"
//usage:
//usage:#define loadkmap_example_usage
//usage: "$ loadkmap < /etc/i18n/lang-keymap\n"
diff --git a/coreutils/basename.c b/coreutils/basename.c
index 1f7a137..ab0c972 100644
--- a/coreutils/basename.c
+++ b/coreutils/basename.c
@@ -31,7 +31,7 @@
//usage:#define basename_trivial_usage
//usage: "FILE [SUFFIX]"
//usage:#define basename_full_usage "\n\n"
-//usage: "Strip directory path and .SUFFIX from FILE\n"
+//usage: "Strip directory path and .SUFFIX from FILE"
//usage:
//usage:#define basename_example_usage
//usage: "$ basename /usr/local/bin/foo\n"
diff --git a/procps/powertop.c b/procps/powertop.c
index e3c29d1..ddda5bd 100644
--- a/procps/powertop.c
+++ b/procps/powertop.c
@@ -674,7 +674,7 @@ static void show_timerstats(void)
//usage:#define powertop_trivial_usage
//usage: ""
//usage:#define powertop_full_usage "\n\n"
-//usage: "Analyze power consumption on Intel-based laptops\n"
+//usage: "Analyze power consumption on Intel-based laptops"
int powertop_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int powertop_main(int UNUSED_PARAM argc, char UNUSED_PARAM **argv)
diff --git a/procps/pwdx.c b/procps/pwdx.c
index 7818104..22b8922 100644
--- a/procps/pwdx.c
+++ b/procps/pwdx.c
@@ -21,7 +21,7 @@
//usage:#define pwdx_trivial_usage
//usage: "PID..."
//usage:#define pwdx_full_usage "\n\n"
-//usage: "Show current directory for PIDs\n"
+//usage: "Show current directory for PIDs"
#include "libbb.h"