command/push: address PR comments

This commit is contained in:
Mitchell Hashimoto 2015-03-24 17:41:26 -07:00
parent d7aeb01360
commit 8d47f26bb7
2 changed files with 5 additions and 4 deletions

View File

@ -171,7 +171,7 @@ func (c *PushCommand) Run(args []string) int {
} }
c.Ui.Output(c.Colorize().Color(fmt.Sprintf( c.Ui.Output(c.Colorize().Color(fmt.Sprintf(
"[reset][bold][green]Configuration %s uploaded! (v%d)", "[reset][bold][green]Configuration %q uploaded! (v%d)",
name, vsn))) name, vsn)))
return 0 return 0
} }
@ -193,8 +193,8 @@ Options:
be set in the configuration itself. Format is be set in the configuration itself. Format is
typically: "username/name". typically: "username/name".
-token=<token> Access token to use to upload. If blank, the ATLAS_TOKEN -token=<token> Access token to use to upload. If blank or unspecified,
environmental variable will be used. the ATLAS_TOKEN environmental variable will be used.
-vcs=true If true (default), push will upload only files -vcs=true If true (default), push will upload only files
comitted to your VCS, if detected. comitted to your VCS, if detected.

View File

@ -50,7 +50,8 @@ The command-line flags are all optional. The list of available flags are:
* `-no-color` - Disables output with coloring * `-no-color` - Disables output with coloring
* `-token=<token>` - Atlas API token to use to authorize the upload. * `-token=<token>` - Atlas API token to use to authorize the upload.
If blank, the `ATLAS_TOKEN` environmental variable will be used. If blank or unspecified, the `ATLAS_TOKEN` environmental variable
will be used.
* `-vcs=true` - If true (default), then Terraform will detect if a VCS * `-vcs=true` - If true (default), then Terraform will detect if a VCS
is in use, such as Git, and will only upload files that are comitted to is in use, such as Git, and will only upload files that are comitted to