Improve flag help consistency, and update docs
This adds the `--live-restore` option to the documentation. Also synched usage description in the documentation with the actual description, and re-phrased some flag descriptions to be a bit more consistent. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 64a8317a5a306dffd0ec080d9ec5b4ceb2479a01) Signed-off-by: Tibor Vass <tibor@docker.com>master
							parent
							
								
									93f029e87c
								
							
						
					
					
						commit
						8d287d4332
					
				|  | @ -77,7 +77,7 @@ func (options *ServiceOptions) InstallCliFlags(cmd *flag.FlagSet, usageFn func(s | |||
| 	insecureRegistries := opts.NewNamedListOptsRef("insecure-registries", &options.InsecureRegistries, ValidateIndexName) | ||||
| 	cmd.Var(insecureRegistries, []string{"-insecure-registry"}, usageFn("Enable insecure registry communication")) | ||||
| 
 | ||||
| 	cmd.BoolVar(&options.V2Only, []string{"-disable-legacy-registry"}, false, usageFn("Do not contact legacy registries")) | ||||
| 	cmd.BoolVar(&options.V2Only, []string{"-disable-legacy-registry"}, false, usageFn("Disable contacting legacy registries")) | ||||
| } | ||||
| 
 | ||||
| // newServiceConfig returns a new instance of ServiceConfig
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue