devshell: make -c a shortcut for --devshell-console
As suggested in
(Though I went with `-c` instead of `-C` for deluxe typing speed and
comfort).
@@ -74,7 +74,7 @@ func init() {
cmdQemuExec.Flags().BoolVar(&cpuCountHost, "auto-cpus", false, "Automatically set number of cpus to host count")
cmdQemuExec.Flags().BoolVar(&directIgnition, "ignition-direct", false, "Do not parse Ignition, pass directly to instance")
cmdQemuExec.Flags().BoolVar(&devshell, "devshell", false, "Enable development shell")
- cmdQemuExec.Flags().BoolVar(&devshellConsole, "devshell-console", false, "Connect directly to serial console in devshell mode")
+ cmdQemuExec.Flags().BoolVarP(&devshellConsole, "devshell-console", "c", false, "Connect directly to serial console in devshell mode")
cmdQemuExec.Flags().StringVarP(&ignition, "ignition", "i", "", "Path to ignition config")
cmdQemuExec.Flags().StringArrayVar(&bindro, "bind-ro", nil, "Mount readonly via 9pfs a host directory (use --bind-ro=/path/to/host,/var/mnt/guest")
cmdQemuExec.Flags().StringArrayVar(&bindrw, "bind-rw", nil, "Same as above, but writable")
