Skip to content

Commit

Permalink
Clarify how the instance userdata value is encoded (#499)
Browse files Browse the repository at this point in the history
Update --userdata usage to be more clear

Don't mention how data is processed under the hood. This avoids someone quickly reading the line and thinking it expects base64 input.
  • Loading branch information
mdspur authored Dec 12, 2024
1 parent ffeba38 commit 1e8b163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/instance/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ func NewCmdInstance(base *cli.Base) *cobra.Command { //nolint:funlen,gocyclo
"userdata",
"u",
"",
"plain text userdata you want to give this instance which the CLI will base64 encode",
"plain text userdata you want to give this instance",
)
create.Flags().BoolP("notify", "n", false, "notify when instance has been created | true or false")
create.Flags().BoolP("ddos", "d", false, "enable ddos protection | true or false")
Expand Down

0 comments on commit 1e8b163

Please sign in to comment.