diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2015-08-05 17:38:58 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2015-08-05 17:38:58 +0200 |
commit | 385f961b29c9518338af4edca8878f7715002168 (patch) | |
tree | 8953778358bfcc147b11f1896da4286f8c0bc12e | |
parent | eada714a0ae4cae5d851344024a371decd9521b9 (diff) |
systemctl: Add new options from 220
-rw-r--r-- | share/completions/systemctl.fish | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/completions/systemctl.fish b/share/completions/systemctl.fish index b32f71a8..320602b6 100644 --- a/share/completions/systemctl.fish +++ b/share/completions/systemctl.fish @@ -91,3 +91,8 @@ complete -x -c systemctl -s M -l machine= -d 'Execute operation on a VM or conta 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' + +# New options since systemd 220 +complete -f -c systemctl -l firmware-setup -n "__fish_seen_subcommand_from reboot" -d "Reboot to EFI setup" +complete -f -c systemctl -l now -n "__fish_seen_subcommand_from enable" -d "Also start unit" +complete -f -c systemctl -l now -n "__fish_seen_subcommand_from disable mask" -d "Also stop unit" |