[Bash-completion-devel] [PATCH 2/3] chronyc: Add missing subcommands

Miroslav Lichvar mlichvar at redhat.com
Tue Oct 6 15:44:59 UTC 2015


---
 completions/chronyc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/completions/chronyc b/completions/chronyc
index c3cfdaa..b95308f 100644
--- a/completions/chronyc
+++ b/completions/chronyc
@@ -52,11 +52,14 @@ _chronyc()
                     COMPREPLY=( $( compgen -W 'off stratum' -- "$cur" ) )
                     ;;
                 manual)
-                    COMPREPLY=( $( compgen -W 'list on off reset' -- "$cur" ) )
+                    COMPREPLY=( $( compgen -W 'list on off reset delete' -- "$cur" ) )
                     ;;
                 sources|sourcestats)
                     COMPREPLY=( $( compgen -W '-v' -- "$cur" ) )
                     ;;
+                smoothtime)
+                    COMPREPLY=( $( compgen -W 'reset activate' -- "$cur" ) )
+                    ;;
             esac
             ;;
         2)
-- 
2.1.0




More information about the Bash-completion-devel mailing list