mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
fix: Disallow args for config-ssh subcommand in cli (#3393)
This commit is contained in:
committed by
GitHub
parent
b10a1b84e5
commit
1fb274cbda
@ -156,7 +156,8 @@ func configSSH() *cobra.Command {
|
|||||||
Command: "coder config-ssh --dry-run",
|
Command: "coder config-ssh --dry-run",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
Args: cobra.ExactArgs(0),
|
||||||
|
RunE: func(cmd *cobra.Command, _ []string) error {
|
||||||
client, err := createClient(cmd)
|
client, err := createClient(cmd)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Reference in New Issue
Block a user