Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
| ... | ... |
@@ -56,7 +56,7 @@ func (options *Options) InstallFlags(cmd *flag.FlagSet, usageFn func(string) str |
| 56 | 56 |
cmd.Var(&options.Mirrors, []string{"-registry-mirror"}, usageFn("Preferred Docker registry mirror"))
|
| 57 | 57 |
options.InsecureRegistries = opts.NewListOpts(ValidateIndexName) |
| 58 | 58 |
cmd.Var(&options.InsecureRegistries, []string{"-insecure-registry"}, usageFn("Enable insecure registry communication"))
|
| 59 |
- cmd.BoolVar(&V2Only, []string{"-disable-legacy-registry"}, false, "Do not contact legacy registries")
|
|
| 59 |
+ cmd.BoolVar(&V2Only, []string{"-disable-legacy-registry"}, false, usageFn("Do not contact legacy registries"))
|
|
| 60 | 60 |
} |
| 61 | 61 |
|
| 62 | 62 |
// NewServiceConfig returns a new instance of ServiceConfig |