mirror of https://github.com/docker/docs.git
Remove the path to docker-machine in help/version on windows
Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
parent
e143c68cf9
commit
93c434eeee
|
|
@ -3,9 +3,10 @@ package main
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"path"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/codegangsta/cli"
|
"github.com/codegangsta/cli"
|
||||||
"github.com/docker/machine/commands"
|
"github.com/docker/machine/commands"
|
||||||
"github.com/docker/machine/commands/mcndirs"
|
"github.com/docker/machine/commands/mcndirs"
|
||||||
|
|
@ -92,7 +93,7 @@ func main() {
|
||||||
cli.AppHelpTemplate = AppHelpTemplate
|
cli.AppHelpTemplate = AppHelpTemplate
|
||||||
cli.CommandHelpTemplate = CommandHelpTemplate
|
cli.CommandHelpTemplate = CommandHelpTemplate
|
||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Name = path.Base(os.Args[0])
|
app.Name = filepath.Base(os.Args[0])
|
||||||
app.Author = "Docker Machine Contributors"
|
app.Author = "Docker Machine Contributors"
|
||||||
app.Email = "https://github.com/docker/machine"
|
app.Email = "https://github.com/docker/machine"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue