@@ -51,18 +51,7 @@ func newCreateCommand(dockerCli command.Cli) *cobra.Command {
5151 }
5252 flags := cmd .Flags ()
5353 flags .StringVar (& opts .Description , "description" , "" , "Description of the context" )
54- flags .String (
55- "default-stack-orchestrator" , "" ,
56- `Default orchestrator for stack operations to use with this context ("swarm", "kubernetes", "all")` ,
57- )
58- flags .SetAnnotation ("default-stack-orchestrator" , "deprecated" , nil )
59- flags .SetAnnotation ("default-stack-orchestrator" , "deprecated" , nil )
60- flags .MarkDeprecated ("default-stack-orchestrator" , "option will be ignored" )
6154 flags .StringToStringVar (& opts .Docker , "docker" , nil , "set the docker endpoint" )
62- flags .StringToString ("kubernetes" , nil , "set the kubernetes endpoint" )
63- flags .SetAnnotation ("kubernetes" , "kubernetes" , nil )
64- flags .SetAnnotation ("kubernetes" , "deprecated" , nil )
65- flags .MarkDeprecated ("kubernetes" , "option will be ignored" )
6655 flags .StringVar (& opts .From , "from" , "" , "create context from a named context" )
6756 return cmd
6857}
0 commit comments