This is issue #5 comment timeout, so I'll just go ahead and change it.
-i attaches to domain console on startup
-p creates the domain but leaves it paused
-d destroys the domain on poweroff
- -D PORT attaches a GDB server on PORT to the domain, implies -p
+ -D PORT attaches a GDB server on PORT to the domain
When run without -i the local domain id is printed to standard output
EOM
err "'gdbsx' is required for -D, please install it."
fi
opt_debug=${OPTARG}
- opt_pause=1
;;
S)
opt_cansudo=true
;;
D)
opt_debug="-gdb tcp::${OPTARG}"
- opt_pause="-S"
;;
S)
# ignored for now