canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.51k stars 632 forks source link

[cli] Added -a flag to the stop command #3529

Closed rogkne closed 1 month ago

rogkne commented 1 month ago

Adds the -a flag in addition to the already existing --all flag to the sub command stop.

This provides a more consistent help output and it is handy for regular use:

Options:
  -h, --help         Displays help on commandline options
  -v, --verbose      Increase logging verbosity. Repeat the 'v' in the short
                     option for more detail. Maximum verbosity is obtained with
                     4 (or more) v's, i.e. -vvvv.
  -a, --all          Stop all instances
  -t, --time <time>  Time from now, in minutes, to delay shutdown of the
                     instance
  -c, --cancel       Cancel a pending delayed shutdown
rogkne commented 1 month ago

Thanks @ricab for the clarification. I close the PR.