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: "< 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"

View File

@ -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"

View File

@ -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)

View File

@ -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"