From 2ef61beadf1b4c938bb13bb3b460f69bcc720193 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 19 Oct 2007 16:30:52 -0400 Subject: rename --last to --last-compat --- tools/ck-history.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') 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; -- cgit