Archived
1
This commit is contained in:
2024-12-20 12:44:40 +03:00
parent 953943655c
commit 0c5fa2abd7
3 changed files with 32 additions and 4 deletions

View File

@@ -160,10 +160,11 @@ func hostsRemoveRunE(_ *cobra.Command, args []string) error {
func newCommandHostsDefault() *cobra.Command {
command := &cobra.Command{
Use: "set-default",
Short: "установка хоста по-умолчанию",
Args: cobra.ExactArgs(1),
RunE: hostsDefaultRunE,
Use: "set-default",
Short: "установка хоста по-умолчанию",
Args: cobra.ExactArgs(1),
ValidArgsFunction: ArgHostCompletion,
RunE: hostsDefaultRunE,
}
return command