Set default mode to verbose

This commit is contained in:
Mikhail Klementev 2020-01-02 15:17:22 +00:00
parent bc704df503
commit 7e4aa33a0a
No known key found for this signature in database
GPG Key ID: BE44DA8C062D87DC
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ You need to **relogin** if you install virt-manager (libvirt) first time.
## Run application ## Run application
$ appvm start chromium --verbose $ appvm start chromium
$ # ... long wait for first time, because we need to collect a lot of packages $ # ... long wait for first time, because we need to collect a lot of packages
You can customize local settings in **~/.config/appvm/nix/local.nix**. You can customize local settings in **~/.config/appvm/nix/local.nix**.

View File

@ -327,7 +327,7 @@ func main() {
startCommand := kingpin.Command("start", "Start application") startCommand := kingpin.Command("start", "Start application")
startName := startCommand.Arg("name", "Application name").Required().String() startName := startCommand.Arg("name", "Application name").Required().String()
startVerbose := startCommand.Flag("verbose", "Increase verbosity").Default("False").Bool() startQuiet := startCommand.Flag("quiet", "Less verbosity").Bool()
stopName := kingpin.Command("stop", "Stop application").Arg("name", "Application name").Required().String() stopName := kingpin.Command("stop", "Stop application").Arg("name", "Application name").Required().String()
dropName := kingpin.Command("drop", "Remove application data").Arg("name", "Application name").Required().String() dropName := kingpin.Command("drop", "Remove application data").Arg("name", "Application name").Required().String()
@ -343,7 +343,7 @@ func main() {
case "generate": case "generate":
generate(l, *generateName, *generateBin, *generateVMName) generate(l, *generateName, *generateBin, *generateVMName)
case "start": case "start":
start(l, *startName, *startVerbose) start(l, *startName, !*startQuiet)
case "stop": case "stop":
stop(l, *stopName) stop(l, *stopName)
case "drop": case "drop":