From: Sami Kerola Date: Tue, 11 Apr 2017 10:01:06 +0000 (+0100) Subject: bash-completion: update hwclock X-Git-Tag: v2.30-rc1~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb6f70184df10944391dd6a6904c47174fb736f1;p=thirdparty%2Futil-linux.git 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 --- diff --git a/bash-completion/hwclock b/bash-completion/hwclock index 89b17bd079..b90f00c0cc 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