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 | |
parent | 66f11e9bd326b3fb79351af7e9efe88a0eaac97d (diff) |
Complete machines in systemd tools
Diffstat (limited to 'share/completions')
-rw-r--r-- | share/completions/busctl.fish | 2 | ||||
-rw-r--r-- | share/completions/systemctl.fish | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/share/completions/busctl.fish b/share/completions/busctl.fish index adb3cf81..10b0a248 100644 --- a/share/completions/busctl.fish +++ b/share/completions/busctl.fish @@ -179,7 +179,7 @@ complete -f -c busctl -n "__fish_seen_subcommand_from list status" -l augment-cr complete -f -c busctl -l user complete -f -c busctl -l system complete -f -c busctl -s H -l host= -a "(__fish_print_hostnames)" -complete -f -c busctl -s M -l machine= -a "(machinectl list --no-legend --no-pager)" +complete -f -c busctl -s M -l machine= -a "(__fish_systemd_machines)" complete -f -c busctl -l no-pager complete -f -c busctl -l no-legend complete -f -c busctl -s h -l help 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' |