Skip to content

Commit

Permalink
Update help text for "create cph" (#71)
Browse files Browse the repository at this point in the history
create cph takes an argument of `--api-server` but the help text example uses `--apiserver-url` leading to the following error:
```
$ cm create cph <clusterpoolhost-name> --apiserver-url <api-url> --console <console-url> --group=<group> --namespace=<namespace>
Error: unknown flag: --apiserver-url
```
  • Loading branch information
gurnben authored Jul 27, 2021
1 parent b826b06 commit ad9d2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/create/clusterpoolhost/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

var example = `
# Initialize a clusterpool management cluster
%[1]s create cph <clusterpoolhosts_name> --apiserver-url <cluster_api_server_url> --console <cluster_console_url> --group <user_group> --namespace <namespace>
%[1]s create cph <clusterpoolhosts_name> --api-server <cluster_api_server_url> --console <cluster_console_url> --group <user_group> --namespace <namespace>
`

// var valuesDefaultPath = filepath.Join(scenarioDirectory, "values-default.yaml")
Expand Down

0 comments on commit ad9d2e5

Please sign in to comment.