mirror of https://github.com/docker/docs.git
Use actual binary name instead of hardcoding it
Signed-off-by: Radek Simko <radek.simko@gmail.com>
This commit is contained in:
parent
6ea17eee0d
commit
13fd5f07a3
2
main.go
2
main.go
|
|
@ -16,7 +16,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Name = "machine"
|
app.Name = os.Args[0]
|
||||||
app.Commands = Commands
|
app.Commands = Commands
|
||||||
app.CommandNotFound = cmdNotFound
|
app.CommandNotFound = cmdNotFound
|
||||||
app.Usage = "Create and manage machines running Docker."
|
app.Usage = "Create and manage machines running Docker."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue