[PATCH] bash-completion: update hwclock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
---
 bash-completion/hwclock | 4 ++--
 1 file 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
-- 
2.12.2

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux