Use actual binary name instead of hardcoding it

Signed-off-by: Radek Simko <radek.simko@gmail.com>
This commit is contained in:
Radek Simko 2015-01-17 20:01:18 +00:00
parent 6ea17eee0d
commit 13fd5f07a3
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ func main() {
}
app := cli.NewApp()
app.Name = "machine"
app.Name = os.Args[0]
app.Commands = Commands
app.CommandNotFound = cmdNotFound
app.Usage = "Create and manage machines running Docker."