code: func SetupRootCommand(rootCmd *cobra.Command) (*cliflags.ClientOptions, *pflag.FlagSet, *cobra.Command) {
  	opts, flags, helpCmd := setupCommonRootCommand(rootCmd)
  
  	rootCmd.SetVersionTemplate("Docker version {{.Version}}\n")
  
  	return opts, flags, helpCmd
  }
docs: // SetupRootCommand sets default usage, help, and error handling for the
  // root command.