Merge pull request #2352 from jeanlaurent/better-cli

Fix create usage & description in cli
This commit is contained in:
David Gageot 2015-11-19 13:39:02 +01:00
commit e537a51926
1 changed files with 2 additions and 1 deletions

View File

@ -205,7 +205,8 @@ var Commands = []cli.Command{
{
Flags: sharedCreateFlags,
Name: "create",
Usage: fmt.Sprintf("Create a machine.\n\nRun '%s create --driver name' to include the create flags for that driver in the help text.", os.Args[0]),
Usage: "Create a machine",
Description: fmt.Sprintf("Run '%s create --driver name' to include the create flags for that driver in the help text.", os.Args[0]),
Action: fatalOnError(cmdCreateOuter),
SkipFlagParsing: true,
},