Remove the path to docker-machine in help/version on windows

Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
David Gageot 2016-01-04 16:51:16 +01:00
parent e143c68cf9
commit 93c434eeee
1 changed files with 3 additions and 2 deletions

View File

@ -3,9 +3,10 @@ package main
import (
"fmt"
"os"
"path"
"strconv"
"path/filepath"
"github.com/codegangsta/cli"
"github.com/docker/machine/commands"
"github.com/docker/machine/commands/mcndirs"
@ -92,7 +93,7 @@ func main() {
cli.AppHelpTemplate = AppHelpTemplate
cli.CommandHelpTemplate = CommandHelpTemplate
app := cli.NewApp()
app.Name = path.Base(os.Args[0])
app.Name = filepath.Base(os.Args[0])
app.Author = "Docker Machine Contributors"
app.Email = "https://github.com/docker/machine"