From 695d87ce77698fbe7f274d38de38f6cf10c10e97 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Wed, 6 May 2009 20:52:59 -0500 Subject: [PATCH] * bin/date: add --short which actually prints the current date Signed-off-by: Dustin Kirkland --- bin/date | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/date b/bin/date index 803a563f..e6d2c309 100755 --- a/bin/date +++ b/bin/date @@ -20,5 +20,8 @@ if [ "$1" = "--detail" ]; then date exit 0 +elif [ "$1" = "--short" ]; then + date +%Y-%m-%d + exit 0 fi printf "\005Y-\005m-\005d "