Skip to content
This repository has been archived by the owner on Feb 27, 2018. It is now read-only.

Commit

Permalink
Merge pull request #180 from rdsubhas/master
Browse files Browse the repository at this point in the history
Aliased destroy to delete to make it feel at home for vagrant devs
  • Loading branch information
Sven Dowideit authored and Sven Dowideit committed Jul 4, 2014
2 parents 0981458 + 8a9e9c9 commit 7e20d36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func config() (*flag.FlagSet, error) {
}

func usageShort() {
errf("Usage: %s [<options>] {help|init|up|ssh|save|down|poweroff|reset|restart|config|status|info|ip|delete|download|version} [<args>]\n", os.Args[0])
errf("Usage: %s [<options>] {help|init|up|ssh|save|down|poweroff|reset|restart|config|status|info|ip|delete|destroy|download|version} [<args>]\n", os.Args[0])

}

Expand All @@ -209,7 +209,7 @@ Commands:
restart Gracefully reboot the VM.
poweroff Forcefully power off the VM (might corrupt disk image).
reset Forcefully power cycle the VM (might corrupt disk image).
delete Delete boot2docker VM and its disk image.
delete|destroy Delete boot2docker VM and its disk image.
config|cfg Show selected profile file settings.
info Display detailed information of VM.
ip Display the IP address of the VM's Host-only network.
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func run() int {
return cmdRestart()
case "reset":
return cmdReset()
case "delete":
case "delete", "destroy":
return cmdDelete()
case "info":
return cmdInfo()
Expand Down

0 comments on commit 7e20d36

Please sign in to comment.