Skip to content

Commit 8d47f26

Browse files
committed
command/push: address PR comments
1 parent d7aeb01 commit 8d47f26

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎command/push.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func (c *PushCommand) Run(args []string) int {
171171
}
172172

173173
c.Ui.Output(c.Colorize().Color(fmt.Sprintf(
174-
"[reset][bold][green]Configuration %s uploaded! (v%d)",
174+
"[reset][bold][green]Configuration %q uploaded! (v%d)",
175175
name, vsn)))
176176
return 0
177177
}
@@ -193,8 +193,8 @@ Options:
193193
be set in the configuration itself. Format is
194194
typically: "username/name".
195195
196-
-token=<token> Access token to use to upload. If blank, the ATLAS_TOKEN
197-
environmental variable will be used.
196+
-token=<token> Access token to use to upload. If blank or unspecified,
197+
the ATLAS_TOKEN environmental variable will be used.
198198
199199
-vcs=true If true (default), push will upload only files
200200
comitted to your VCS, if detected.

‎website/source/docs/commands/push.html.markdown‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ The command-line flags are all optional. The list of available flags are:
5050
* `-no-color` - Disables output with coloring
5151

5252
* `-token=<token>` - Atlas API token to use to authorize the upload.
53-
If blank, the `ATLAS_TOKEN` environmental variable will be used.
53+
If blank or unspecified, the `ATLAS_TOKEN` environmental variable
54+
will be used.
5455

5556
* `-vcs=true` - If true (default), then Terraform will detect if a VCS
5657
is in use, such as Git, and will only upload files that are comitted to

0 commit comments

Comments
 (0)