mirror of https://github.com/docker/docs.git
Use binary file name instead of full path
Signed-off-by: Radek Simko <radek.simko@gmail.com>
This commit is contained in:
parent
badf0bffcd
commit
934ae47555
3
main.go
3
main.go
|
|
@ -2,6 +2,7 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
|
"path"
|
||||||
|
|
||||||
log "github.com/Sirupsen/logrus"
|
log "github.com/Sirupsen/logrus"
|
||||||
"github.com/codegangsta/cli"
|
"github.com/codegangsta/cli"
|
||||||
|
|
@ -16,7 +17,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Name = os.Args[0]
|
app.Name = path.Base(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