diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-22 02:07:58 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-22 02:07:58 +0000 |
commit | 869d3d318ff3c17d74499f1216abfe3afa40590c (patch) | |
tree | f76f5abd31348c95c73d9455fef5f3fb38291686 /include | |
parent | 7bd8d8fd264a72f9c228da3ca238eae1b2ad8ce1 (diff) | |
download | busybox-w32-869d3d318ff3c17d74499f1216abfe3afa40590c.tar.gz busybox-w32-869d3d318ff3c17d74499f1216abfe3afa40590c.tar.bz2 busybox-w32-869d3d318ff3c17d74499f1216abfe3afa40590c.zip |
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.h | 10 |
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 @@ | |||
3504 | "lash is deprecated, please use hush" | 3504 | "lash is deprecated, please use hush" |
3505 | 3505 | ||
3506 | #define last_trivial_usage \ | 3506 | #define last_trivial_usage \ |
3507 | "" | 3507 | ""USE_FEATURE_LAST_FANCY("[-HW] [-f file]") |
3508 | #define last_full_usage "\n\n" \ | 3508 | #define last_full_usage "\n\n" \ |
3509 | "Show listing of the last users that logged into the system" | 3509 | "Show listing of the last users that logged into the system" \ |
3510 | USE_FEATURE_LAST_FANCY( "\n" \ | ||
3511 | "\nOptions:" \ | ||
3512 | "\n -H Show header line" \ | ||
3513 | "\n -W Display with no host column truncation" \ | ||
3514 | "\n -f file Read from file instead of /var/log/wtmp" \ | ||
3515 | ) | ||
3510 | 3516 | ||
3511 | #define sha1sum_trivial_usage \ | 3517 | #define sha1sum_trivial_usage \ |
3512 | "[OPTION] [FILEs...]" \ | 3518 | "[OPTION] [FILEs...]" \ |