aboutsummaryrefslogtreecommitdiff
path: root/miscutils/last.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/last.c')
-rw-r--r--miscutils/last.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/miscutils/last.c b/miscutils/last.c
index 12457b157..27f5a35ce 100644
--- a/miscutils/last.c
+++ b/miscutils/last.c
@@ -7,6 +7,17 @@
7 * Licensed under GPLv2, see file LICENSE in this source tree. 7 * Licensed under GPLv2, see file LICENSE in this source tree.
8 */ 8 */
9 9
10//usage:#define last_trivial_usage
11//usage: ""IF_FEATURE_LAST_FANCY("[-HW] [-f FILE]")
12//usage:#define last_full_usage "\n\n"
13//usage: "Show listing of the last users that logged into the system"
14//usage: IF_FEATURE_LAST_FANCY( "\n"
15//usage: "\nOptions:"
16/* //usage: "\n -H Show header line" */
17//usage: "\n -W Display with no host column truncation"
18//usage: "\n -f FILE Read from FILE instead of /var/log/wtmp"
19//usage: )
20
10#include "libbb.h" 21#include "libbb.h"
11 22
12/* NB: ut_name and ut_user are the same field, use only one name (ut_user) 23/* NB: ut_name and ut_user are the same field, use only one name (ut_user)