aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-05-22 02:07:58 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-05-22 02:07:58 +0000
commit869d3d318ff3c17d74499f1216abfe3afa40590c (patch)
treef76f5abd31348c95c73d9455fef5f3fb38291686 /include
parent7bd8d8fd264a72f9c228da3ca238eae1b2ad8ce1 (diff)
downloadbusybox-869d3d318ff3c17d74499f1216abfe3afa40590c.tar.gz
last: optional alternative sysv-like implementation
(by Patricia Muscalu <patricia.muscalu AT axis.com>) function old new delta last_main 448 917 +469 show_entry - 319 +319 packed_usage 24216 24268 +52 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/0 up/down: 840/0) Total: 840 bytes
Diffstat (limited to 'include')
-rw-r--r--include/usage.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index cffe78220..1f4213a2e 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3504,9 +3504,15 @@
"lash is deprecated, please use hush"
#define last_trivial_usage \
- ""
+ ""USE_FEATURE_LAST_FANCY("[-HW] [-f file]")
#define last_full_usage "\n\n" \
- "Show listing of the last users that logged into the system"
+ "Show listing of the last users that logged into the system" \
+ USE_FEATURE_LAST_FANCY( "\n" \
+ "\nOptions:" \
+ "\n -H Show header line" \
+ "\n -W Display with no host column truncation" \
+ "\n -f file Read from file instead of /var/log/wtmp" \
+ )
#define sha1sum_trivial_usage \
"[OPTION] [FILEs...]" \