Skip to content

Commit 4976787

Browse files
committed
chore: show help if no fields specified in wsproxy edit
1 parent 9404e0e commit 4976787

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

enterprise/cli/workspaceproxy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ func (r *RootCmd) patchProxy() *clibase.Cmd {
120120
Handler: func(inv *clibase.Invocation) error {
121121
ctx := inv.Context()
122122
if proxyIcon == "" && displayName == "" && proxyName == "" {
123+
_ = inv.Command.HelpHandler(inv)
123124
return xerrors.Errorf("specify at least one field to update")
124125
}
125126

0 commit comments

Comments
 (0)