diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2015-08-05 17:38:17 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2015-08-05 17:38:17 +0200 |
commit | eada714a0ae4cae5d851344024a371decd9521b9 (patch) | |
tree | 2b8fa3a022dffb7af16774886d49d6165dacbd42 /share/completions/systemctl.fish | |
parent | 66f11e9bd326b3fb79351af7e9efe88a0eaac97d (diff) |
Complete machines in systemd tools
Diffstat (limited to 'share/completions/systemctl.fish')
-rw-r--r-- | share/completions/systemctl.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/completions/systemctl.fish b/share/completions/systemctl.fish index 46b4786b..b32f71a8 100644 --- a/share/completions/systemctl.fish +++ b/share/completions/systemctl.fish @@ -86,8 +86,8 @@ complete -f -c systemctl -l runtime -d 'Make changes only temporarily' complete -f -r -c systemctl -s n -l lines -d 'Number of journal lines to show' -a "(seq 1 1000)" complete -f -c systemctl -s o -l output -d 'Control journal formatting' -xa 'short short-monotonic verbose export json json-pretty json-sse cat' complete -f -c systemctl -l plain -d 'list-dependencies flat, not as tree' -complete -f -c systemctl -s H -l host= -d 'Execute the operation remotely' -a "(__fish_print_hostnames)" -complete -x -c systemctl -s M -l machine= -d 'Execute operation locally' -a "(machinectl --no-legend list)" +complete -f -c systemctl -s H -l host= -d 'Execute the operation on a remote host' -a "(__fish_print_hostnames)" +complete -x -c systemctl -s M -l machine= -d 'Execute operation on a VM or container' -a "(__fish_systemd_machines)" complete -f -c systemctl -s h -l help -d 'Print a short help and exit' complete -f -c systemctl -l version -d 'Print a short version and exit' complete -f -c systemctl -l no-pager -d 'Do not pipe output into a pager' |