trim extra newlines in help texts

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2015-01-24 19:46:45 +01:00
parent 9de69c024c
commit 86031a5ffd
4 changed files with 6 additions and 5 deletions

View File

@ -10,8 +10,9 @@
//usage:#define loadkmap_trivial_usage //usage:#define loadkmap_trivial_usage
//usage: "< keymap" //usage: "< keymap"
//usage:#define loadkmap_full_usage "\n\n" //usage:#define loadkmap_full_usage "\n\n"
//usage: "Load a binary keyboard translation table from stdin\n" //usage: "Load a binary keyboard translation table from stdin"
/* //usage: "\n -C TTY Affect TTY instead of /dev/tty" */ ////usage: "\n"
////usage: "\n -C TTY Affect TTY instead of /dev/tty"
//usage: //usage:
//usage:#define loadkmap_example_usage //usage:#define loadkmap_example_usage
//usage: "$ loadkmap < /etc/i18n/lang-keymap\n" //usage: "$ loadkmap < /etc/i18n/lang-keymap\n"

View File

@ -31,7 +31,7 @@
//usage:#define basename_trivial_usage //usage:#define basename_trivial_usage
//usage: "FILE [SUFFIX]" //usage: "FILE [SUFFIX]"
//usage:#define basename_full_usage "\n\n" //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:
//usage:#define basename_example_usage //usage:#define basename_example_usage
//usage: "$ basename /usr/local/bin/foo\n" //usage: "$ basename /usr/local/bin/foo\n"

View File

@ -674,7 +674,7 @@ static void show_timerstats(void)
//usage:#define powertop_trivial_usage //usage:#define powertop_trivial_usage
//usage: "" //usage: ""
//usage:#define powertop_full_usage "\n\n" //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 argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int powertop_main(int UNUSED_PARAM argc, char UNUSED_PARAM **argv) int powertop_main(int UNUSED_PARAM argc, char UNUSED_PARAM **argv)

View File

@ -21,7 +21,7 @@
//usage:#define pwdx_trivial_usage //usage:#define pwdx_trivial_usage
//usage: "PID..." //usage: "PID..."
//usage:#define pwdx_full_usage "\n\n" //usage:#define pwdx_full_usage "\n\n"
//usage: "Show current directory for PIDs\n" //usage: "Show current directory for PIDs"
#include "libbb.h" #include "libbb.h"