summaryrefslogtreecommitdiffstats
path: root/bash-completion/hwclock
diff options
context:
space:
mode:
authorSami Kerola2017-04-11 12:01:06 +0200
committerKarel Zak2017-04-18 11:13:24 +0200
commitfb6f70184df10944391dd6a6904c47174fb736f1 (patch)
tree2f7423877642ab1bee171d185305a2b851ab0202 /bash-completion/hwclock
parentMerge branch '170409' of github.com:jwpi/util-linux (diff)
downloadkernel-qcow2-util-linux-fb6f70184df10944391dd6a6904c47174fb736f1.tar.gz
kernel-qcow2-util-linux-fb6f70184df10944391dd6a6904c47174fb736f1.tar.xz
kernel-qcow2-util-linux-fb6f70184df10944391dd6a6904c47174fb736f1.zip
bash-completion: update hwclock
Add --udate-drift [1], remove --badyear [2], and use the same argument for --date as in manual page[3]. Commit [1]: f276d71a3ef6a65299deb5e14a188e0a786ecebd Commit [2]: f6374e1fb33d5ca726b72212b787e11fea78c0ca Commit [3]: cc5ec6936ea3c218b3e8c46880659db5ee01329f Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'bash-completion/hwclock')
-rw-r--r--bash-completion/hwclock4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash-completion/hwclock b/bash-completion/hwclock
index 89b17bd07..b90f00c0c 100644
--- a/bash-completion/hwclock
+++ b/bash-completion/hwclock
@@ -12,7 +12,7 @@ _hwclock_module()
return 0
;;
'--date')
- COMPREPLY=( $(compgen -W "date" -- $cur) )
+ COMPREPLY=( $(compgen -W "time" -- $cur) )
return 0
;;
'--epoch')
@@ -40,9 +40,9 @@ _hwclock_module()
--localtime
--rtc
--directisa
- --badyear
--date
--epoch
+ --update-drift
--noadjfile
--adjfile
--test