Skip to content

Commit

Permalink
Update spacing for flags within Help text
Browse files Browse the repository at this point in the history
Before Change
```

Options:
  - path <path>: install the plugin from a locally-sourced plugin binary. This
                 installs the plugin where a normal invocation would, but will
                 not try to download it from a remote location, and instead
                 install the binary in the Packer plugins path.
                 This option cannot be specified with a version constraint.
  - force:       forces reinstallation of plugins, even if already installed.

```

After Change
```
Options:
  -path <path>                  Install the plugin from a locally-sourced plugin binary.
                                This installs the plugin where a normal invocation would, but will
                                not try to download it from a remote location, and instead
                                install the binary in the Packer plugins path. This option cannot
                                be specified with a version constraint.
  -force                        Forces reinstallation of plugins, even if already installed.
```
  • Loading branch information
nywilken authored and lbajolet-hashicorp committed Dec 5, 2023
1 parent 8a67713 commit c91b114
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions command/plugins_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ Usage: packer plugins install [OPTIONS...] <plugin> [<version constraint>]
packer plugins install --path ./packer-plugin-happycloud "github.com/hashicorp/happycloud"
Options:
- path <path>: install the plugin from a locally-sourced plugin binary. This
installs the plugin where a normal invocation would, but will
not try to download it from a remote location, and instead
install the binary in the Packer plugins path.
This option cannot be specified with a version constraint.
- force: forces reinstallation of plugins, even if already installed.
-path <path> Install the plugin from a locally-sourced plugin binary.
This installs the plugin where a normal invocation would, but will
not try to download it from a remote location, and instead
install the binary in the Packer plugins path. This option cannot
be specified with a version constraint.
-force Forces reinstallation of plugins, even if already installed.
`

return strings.TrimSpace(helpText)
Expand Down

0 comments on commit c91b114

Please sign in to comment.