* bin/time: add --short which actually prints the current time

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-05-06 20:53:52 -05:00
commit e9b92b716f

View file

@ -21,7 +21,7 @@ if [ "$1" = "--detail" ]; then
date
exit 0
elif [ "$1" = "--short" ]; then
date +%Y-%m-%d
date +%H:%M:%S
exit 0
fi