diff options
author | Sami Kerola | 2015-01-10 19:31:29 +0100 |
---|---|---|
committer | Karel Zak | 2015-06-29 13:39:37 +0200 |
commit | a10ce9a3e5090f9eab0b34618280d7177568d884 (patch) | |
tree | a2334fbbbfa3265d6eb98a1b937528add36502ee /bash-completion | |
parent | rtcwake: improve read_clock_mode() (diff) | |
download | kernel-qcow2-util-linux-a10ce9a3e5090f9eab0b34618280d7177568d884.tar.gz kernel-qcow2-util-linux-a10ce9a3e5090f9eab0b34618280d7177568d884.tar.xz kernel-qcow2-util-linux-a10ce9a3e5090f9eab0b34618280d7177568d884.zip |
rtcwake: add human readable --date timestamp format
Reviewed-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'bash-completion')
-rw-r--r-- | bash-completion/rtcwake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bash-completion/rtcwake b/bash-completion/rtcwake index d7d142701..51566a2a2 100644 --- a/bash-completion/rtcwake +++ b/bash-completion/rtcwake @@ -23,11 +23,16 @@ _rtcwake_module() COMPREPLY=( $(compgen -W "time_t" -- $cur) ) return 0 ;; + '--date') + COMPREPLY=( $(compgen -W "YYYYMMDDhhmmss" -- $cur) ) + return 0 + ;; '-h'|'--help'|'-V'|'--version') return 0 ;; esac - OPTS="--device + OPTS=" --date + --device --dry-run --local --mode |