From 72432a701a7c39cb394c6bc974256137e705ea11 Mon Sep 17 00:00:00 2001 From: Richard Scothern Date: Mon, 4 Jan 2016 14:45:17 -0800 Subject: [PATCH] Show the legacy registry flag only in the daemon arguments Signed-off-by: Richard Scothern --- docs/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config.go b/docs/config.go index ca7beec4..9708d036 100644 --- a/docs/config.go +++ b/docs/config.go @@ -56,7 +56,7 @@ func (options *Options) InstallFlags(cmd *flag.FlagSet, usageFn func(string) str cmd.Var(&options.Mirrors, []string{"-registry-mirror"}, usageFn("Preferred Docker registry mirror")) options.InsecureRegistries = opts.NewListOpts(ValidateIndexName) cmd.Var(&options.InsecureRegistries, []string{"-insecure-registry"}, usageFn("Enable insecure registry communication")) - cmd.BoolVar(&V2Only, []string{"-disable-legacy-registry"}, false, "Do not contact legacy registries") + cmd.BoolVar(&V2Only, []string{"-disable-legacy-registry"}, false, usageFn("Do not contact legacy registries")) } // NewServiceConfig returns a new instance of ServiceConfig