diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2015-10-07 00:29:00 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2015-10-07 00:29:00 +0300 |
commit | aa404ca17d3838b18669e006ab30446cb402988b (patch) | |
tree | 980bbf686acadc506cd088d3206f45ac83283c9c | |
parent | bc03de502c3d8391ee220a3a28ed964db8c5e73a (diff) | |
download | bash-completion-aa404ca17d3838b18669e006ab30446cb402988b.tar.gz |
chronyc: Wrap long lines
-rw-r--r-- | completions/chronyc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/completions/chronyc b/completions/chronyc index 7a5f5f64..ddbbbb9b 100644 --- a/completions/chronyc +++ b/completions/chronyc @@ -28,7 +28,8 @@ _chronyc() case $args in 0) COMPREPLY=( $( compgen -W "$( $1 help 2>/dev/null | \ - awk '!/(^ |: *$)/ { sub("\\|", " ", $1); print $1 }' )" -- "$cur" ) ) + awk '!/(^ |: *$)/ { sub("\\|", " ", $1); print $1 }' )" \ + -- "$cur" ) ) ;; 1) case $prev in @@ -52,7 +53,8 @@ _chronyc() COMPREPLY=( $( compgen -W 'off stratum' -- "$cur" ) ) ;; manual) - COMPREPLY=( $( compgen -W 'list on off reset delete' -- "$cur" ) ) + COMPREPLY=( $( compgen -W 'list on off reset delete' \ + -- "$cur" ) ) ;; sources|sourcestats) COMPREPLY=( $( compgen -W '-v' -- "$cur" ) ) |