[git commit] who,less: tweaked help text

Denys Vlasenko vda.linux at googlemail.com
Tue Apr 17 14:11:25 UTC 2012


commit: http://git.busybox.net/busybox/commit/?id=53772869bc4ecfe68ac8d53c50a6057e7872df06
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

function                                             old     new   delta
packed_usage                                       29176   29173      -3

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 coreutils/who.c  |    1 +
 miscutils/less.c |   13 ++++++-------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/coreutils/who.c b/coreutils/who.c
index c6c9252..597a4d5 100644
--- a/coreutils/who.c
+++ b/coreutils/who.c
@@ -48,6 +48,7 @@
 //usage:#define who_full_usage "\n\n"
 //usage:       "Show who is logged on\n"
 //usage:     "\n	-a	Show all"
+//usage:     "\n	-a	Print column headers"
 
 #include "libbb.h"
 
diff --git a/miscutils/less.c b/miscutils/less.c
index 045fd2d..f0187bf 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -42,14 +42,11 @@
 //config:	  brackets, facilitating programming.
 //config:
 //config:config FEATURE_LESS_FLAGS
-//config:	bool "Enable extra flags"
+//config:	bool "Enable -m/-M"
 //config:	default y
 //config:	depends on LESS
 //config:	help
-//config:	  The extra flags provided do the following:
-//config:
-//config:	  The -M flag enables a more sophisticated status line.
-//config:	  The -m flag enables a simpler status line with a percentage.
+//config:	  The -M/-m flag enables a more sophisticated status line.
 //config:
 //config:config FEATURE_LESS_MARKS
 //config:	bool "Enable marks"
@@ -101,15 +98,17 @@
 //config:	  Enables "-N" command.
 
 //usage:#define less_trivial_usage
-//usage:       "[-EMNmh~I?] [FILE]..."
+//usage:       "[-E" IF_FEATURE_LESS_FLAGS("Mm") "Nh~I?] [FILE]..."
 //usage:#define less_full_usage "\n\n"
 //usage:       "View FILE (or stdin) one screenful at a time\n"
 //usage:     "\n	-E	Quit once the end of a file is reached"
+//usage:	IF_FEATURE_LESS_FLAGS(
 //usage:     "\n	-M,-m	Display status line with line numbers"
 //usage:     "\n		and percentage through the file"
+//usage:	)
 //usage:     "\n	-N	Prefix line number to each line"
 //usage:     "\n	-I	Ignore case in all searches"
-//usage:     "\n	-~	Suppress ~s displayed past the end of the file"
+//usage:     "\n	-~	Suppress ~s displayed past EOF"
 
 #include <sched.h>  /* sched_yield() */
 


More information about the busybox-cvs mailing list