aboutsummaryrefslogtreecommitdiffstats
path: root/bash-completion
diff options
context:
space:
mode:
Diffstat (limited to 'bash-completion')
-rw-r--r--bash-completion/lsclocks6
1 files changed, 6 insertions, 0 deletions
diff --git a/bash-completion/lsclocks b/bash-completion/lsclocks
index 30cf9c545a..7158701ea7 100644
--- a/bash-completion/lsclocks
+++ b/bash-completion/lsclocks
@@ -31,6 +31,11 @@ _lsclocks_module()
COMPREPLY=( $(compgen -o filenames -W "$clocks" -- "$cur") )
return 0
;;
+ '-x'|'--rtc')
+ clocks="$(echo /dev/rtc*)"
+ COMPREPLY=( $(compgen -o filenames -W "$clocks" -- "$cur") )
+ return 0
+ ;;
'-c'|'--cpu-clock')
_pids
return 0
@@ -48,6 +53,7 @@ _lsclocks_module()
--raw
--time
--dynamic-clock
+ --rtc
--cpu-clock
--help
--version"