]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
bash-completion: update hwclock
authorSami Kerola <kerolasa@iki.fi>
Tue, 11 Apr 2017 10:01:06 +0000 (11:01 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 18 Apr 2017 09:13:24 +0000 (11:13 +0200)
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>
bash-completion/hwclock

index 89b17bd0793656017c4e7653654a343729f5c704..b90f00c0cc5ccca72482114d20ab5508626e0149 100644 (file)
@@ -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