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
This commit is contained in:
Denis Vlasenko
2008-05-22 02:07:58 +00:00
parent 7bd8d8fd26
commit 869d3d318f
4 changed files with 307 additions and 2 deletions

View File

@ -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...]" \