func (c *initCmd) flags() { massage_args() gnuflag.Var(&profArgs, "profile", "Profile to apply to the new container") gnuflag.Var(&profArgs, "p", "Profile to apply to the new container") gnuflag.BoolVar(&ephem, "ephemeral", false, gettext.Gettext("Ephemeral container")) gnuflag.BoolVar(&ephem, "e", false, gettext.Gettext("Ephemeral container")) }
func (c *helpCmd) flags() { gnuflag.BoolVar(&showAll, "all", false, gettext.Gettext("Show all commands (not just interesting ones)")) }
func (c *imageCmd) flags() { gnuflag.BoolVar(&publicImage, "public", false, gettext.Gettext("Make image public")) gnuflag.BoolVar(©Aliases, "copy-aliases", false, gettext.Gettext("Copy aliases from source")) gnuflag.Var(&addAliases, "alias", "New alias to define at target") }
func (c *snapshotCmd) flags() { gnuflag.BoolVar(&c.stateful, "stateful", false, gettext.Gettext("Whether or not to snapshot the container's running state")) }
func (c *restoreCmd) flags() { gnuflag.BoolVar(&c.stateful, "stateful", false, gettext.Gettext("Whether or not to restore the container's running state from snapshot (if available)")) }
func (c *publishCmd) flags() { gnuflag.BoolVar(&makePublic, "public", false, gettext.Gettext("Make the image public")) gnuflag.Var(&pAliases, "alias", "New alias to define at target") }
func (c *remoteCmd) flags() { gnuflag.BoolVar(&c.acceptCert, "accept-certificate", false, gettext.Gettext("Accept certificate")) gnuflag.StringVar(&c.password, "password", "", gettext.Gettext("Remote admin password")) }
func (c *actionCmd) flags() { if c.hasTimeout { gnuflag.IntVar(&timeout, "timeout", -1, gettext.Gettext("Time to wait for the container before killing it.")) gnuflag.BoolVar(&force, "force", false, gettext.Gettext("Force the container to shutdown.")) } }