diff --git a/command/push.go b/command/push.go index acee1b3531..731a245f80 100644 --- a/command/push.go +++ b/command/push.go @@ -171,7 +171,7 @@ func (c *PushCommand) Run(args []string) int { } 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))) return 0 } @@ -193,8 +193,8 @@ Options: be set in the configuration itself. Format is typically: "username/name". - -token= Access token to use to upload. If blank, the ATLAS_TOKEN - environmental variable will be used. + -token= Access token to use to upload. If blank or unspecified, + the ATLAS_TOKEN environmental variable will be used. -vcs=true If true (default), push will upload only files comitted to your VCS, if detected. diff --git a/website/source/docs/commands/push.html.markdown b/website/source/docs/commands/push.html.markdown index 10617d569d..e944261c98 100644 --- a/website/source/docs/commands/push.html.markdown +++ b/website/source/docs/commands/push.html.markdown @@ -50,7 +50,8 @@ The command-line flags are all optional. The list of available flags are: * `-no-color` - Disables output with coloring * `-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 is in use, such as Git, and will only upload files that are comitted to