diff options
author | William Jon McCann <mccann@jhu.edu> | 2007-10-19 16:30:52 -0400 |
---|---|---|
committer | William Jon McCann <mccann@jhu.edu> | 2007-10-19 16:30:52 -0400 |
commit | 2ef61beadf1b4c938bb13bb3b460f69bcc720193 (patch) | |
tree | caaea65d450066df55e114c3ebbcc7174f6ea223 | |
parent | 92c036e50f2d0989651c43e2db78110a2a2fd5b0 (diff) |
rename --last to --last-compat
-rw-r--r-- | tools/ck-history.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/ck-history.c b/tools/ck-history.c index 66eb152..23a87af 100644 --- a/tools/ck-history.c +++ b/tools/ck-history.c @@ -299,11 +299,11 @@ main (int argc, GError *error = NULL; int report_type; static gboolean do_version = FALSE; - static gboolean report_last = FALSE; + static gboolean report_last_compat = FALSE; static gboolean report_log = FALSE; static GOptionEntry entries [] = { { "version", 'V', 0, G_OPTION_ARG_NONE, &do_version, N_("Version of this application"), NULL }, - { "last", 'l', 0, G_OPTION_ARG_NONE, &report_last, N_("Show listing of last logged in users"), NULL }, + { "last-compat", 'l', 0, G_OPTION_ARG_NONE, &report_last_compat, N_("Show 'last' compatible listing of last logged in users"), NULL }, { "log", 'a', 0, G_OPTION_ARG_NONE, &report_log, N_("Show full event log"), NULL }, { NULL } }; @@ -325,7 +325,7 @@ main (int argc, exit (1); } - if (report_last) { + if (report_last_compat) { report_type = REPORT_TYPE_LAST_COMPAT; } else if (report_log) { report_type = REPORT_TYPE_LOG; |