From 86031a5ffd106b8128f5763d32c273b96875f707 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 24 Jan 2015 19:46:45 +0100 Subject: [PATCH] trim extra newlines in help texts Signed-off-by: Denys Vlasenko --- console-tools/loadkmap.c | 5 +++-- coreutils/basename.c | 2 +- procps/powertop.c | 2 +- procps/pwdx.c | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/console-tools/loadkmap.c b/console-tools/loadkmap.c index 66ec3b043..6dcf8133f 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 1f7a13713..ab0c972ed 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 e3c29d1c3..ddda5bd93 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 781810488..22b892275 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"