mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* bin/time: add --short which actually prints the current time
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
695d87ce77
commit
e9b92b716f
1 changed files with 1 additions and 1 deletions
2
bin/time
2
bin/time
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue