1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

Merge pull request #393 from radeksimko/rsimko-bin-basepath

Use binary file name instead of full path
This commit is contained in:
Evan Hazlett
2015-01-23 10:28:13 -05:00

View File

@@ -2,6 +2,7 @@ package main
import (
"os"
"path"
log "github.com/Sirupsen/logrus"
"github.com/codegangsta/cli"
@@ -16,7 +17,7 @@ func main() {
}
app := cli.NewApp()
app.Name = os.Args[0]
app.Name = path.Base(os.Args[0])
app.Commands = Commands
app.CommandNotFound = cmdNotFound
app.Usage = "Create and manage machines running Docker."