From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: util-linux-owner@vger.kernel.org Received: from mail-ee0-f42.google.com ([74.125.83.42]:58692 "EHLO mail-ee0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752354Ab3H0SHO (ORCPT ); Tue, 27 Aug 2013 14:07:14 -0400 Received: by mail-ee0-f42.google.com with SMTP id b45so2442256eek.29 for ; Tue, 27 Aug 2013 11:07:13 -0700 (PDT) From: Sami Kerola To: util-linux@vger.kernel.org Cc: kerolasa@iki.fi Subject: [PATCH 12/17] last: add --since time spec option Date: Tue, 27 Aug 2013 19:06:14 +0100 Message-Id: <1377626779-26030-12-git-send-email-kerolasa@iki.fi> In-Reply-To: <1377626779-26030-1-git-send-email-kerolasa@iki.fi> References: <1377626779-26030-1-git-send-email-kerolasa@iki.fi> Sender: util-linux-owner@vger.kernel.org List-ID: The --since and --until options are companions often needed together. Signed-off-by: Sami Kerola --- login-utils/last.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/login-utils/last.c b/login-utils/last.c index df78436..c23469e 100644 --- a/login-utils/last.c +++ b/login-utils/last.c @@ -426,8 +426,9 @@ static void __attribute__((__noreturn__)) usage(FILE *out) fputs(_(" -i, --ip display IP numbers in numbers-and-dots notation\n"), out); fputs(_(" -n, --limit how many lines to show\n"), out); fputs(_(" -R, --nohostname don't display the hostname field\n"), out); - fputs(_(" -t, --until display the state of the specified time\n"), out); - fputs(_(" -p, --present display who where present at the specified time\n"), out); + fputs(_(" -s, --since