code: func NewCmdOptions(out io.Writer) *cobra.Command {
  	cmd := &cobra.Command{
  		Use:     "options",
  		Short:   i18n.T("Print the list of flags inherited by all commands"),
  		Long:    "Print the list of flags inherited by all commands",
  		Example: optionsExample,
  		Run: func(cmd *cobra.Command, args []string) {
  			cmd.Usage()
  		},
  	}
  
  	// The `options` command needs write its output to the `out` stream
  	// (typically stdout). Without calling SetOutput here, the Usage()
  	// function call will fall back to stderr.
  	//
  	// See https://github.com/kubernetes/kubernetes/pull/46394 for details.
  	cmd.SetOutput(out)
  
  	templates.UseOptionsTemplates(cmd)
  	return cmd
  }
docs: // NewCmdOptions implements the options command