Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix edit-cluster help information #1900

Merged
merged 4 commits into from
Jun 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion components/cluster/command/edit_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ func newEditConfigCmd() *cobra.Command {
opt := manager.EditConfigOptions{}
cmd := &cobra.Command{
Use: "edit-config <cluster-name>",
Short: "Edit TiDB cluster config.\nWill use editor from environment variable `EDITOR`, default use vi",
Short: "Edit TiDB cluster config",
Long: "Edit TiDB cluster config. Will use editor from environment variable `EDITOR`, default use vi",
RunE: func(cmd *cobra.Command, args []string) error {
if len(args) != 1 {
return cmd.Help()
Expand Down
1 change: 1 addition & 0 deletions components/dm/command/edit_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func newEditConfigCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "edit-config <cluster-name>",
Short: "Edit DM cluster config",
Long: "Edit DM cluster config. Will use editor from environment variable `EDITOR`, default use vi",
RunE: func(cmd *cobra.Command, args []string) error {
if len(args) != 1 {
return cmd.Help()
Expand Down