Lines Matching defs:usage

161 def usage(usage_error=None, cmd=None, retcode=EXIT_BADOPT, full=False,
163 """Emit a usage message and optionally prefix it with a more
392 # before calling usage(..)
394 "Unable to find usage str for "
408 logger.error(_("Private subcommand usage, options "
431 # Display a verbose usage message of subcommands.
1996 usage(_("{0}: no variants specified").format(op))
2002 usage(_("{0}: variants must to be of the form "
2016 usage(_("{subcmd}: duplicate variant specified: "
2044 usage(_("{0}: no facets specified").format(op))
2057 usage(_("{0}: facets must to be of the form "
2066 usage(_("{0}: facets must to be of the form "
2105 usage(err["reason"], cmd=cmd)
2280 usage(_("at least one file path or tag name required"), cmd=op)
2431 usage(_("at least one mediator must be specified"),
2434 usage(_("a mediator version and/or implementation must be "
2525 usage(_("at least one mediator must be specified"),
2645 usage(usage_error=_("At least one package to freeze must be "
2648 usage(usage_error=_("-H may only be specified when listing the "
2873 usage(_("at least one search term must be provided"),
2884 usage(_("action level options ('{0}') to -o "
2955 usage(_("action level options "
3266 usage(_("Invalid attribute '{0}'").format(a),
3297 usage(_("-a takes an argument of the form "
3320 usage(_("contents: must request remote contents for specific "
3331 usage(_("-m and {0} may not be specified at the same "
3339 usage(_("no valid action types specified"),
3897 usage(_("requires a property name and value"), cmd=subcommand)
3919 usage(_("requires a property name and value"), cmd=subcommand)
3944 usage(_("requires a property name and at least one value"),
3961 usage(_("Signature-policy {0} doesn't allow additional "
3988 usage(_("requires at least one property name"),
4255 usage(_("linked image property arguments must be of "
4259 usage(_("invalid linked image property: "
4263 usage(_("linked image property specified multiple "
4450 usage(_("cannot specify linked image property: "
4454 usage(_("a linked image name and path must be specified"),
4561 usage(_("The -p option can be specified only "
4599 usage(_("Facet arguments must be of the "
4608 usage(_("properties to be set must be of the "
4612 usage(_("a property may only be set once in a "
4622 usage(_("variant arguments must be of the "
4628 usage(_("an image directory path must be specified"),
4631 usage(_("only one image directory path may be specified"),
4636 usage(_("--no-refresh cannot be used with -p unless a "
4640 usage(_("A publisher must be specified if -g or -m are used."),
4704 usage(_("command does not take operands ('{0}')").format(
4817 usage(_("-H and -l may not be combined"), cmd="history")
4820 usage(_("-o and -l may not be combined"), cmd="history")
4823 usage(_("-n and -t may not be combined"), cmd="history")
4826 usage(_("-o and -N may not be combined"), cmd="history")
4829 usage(_("-l and -N may not be combined"), cmd="history")
5081 usage(_("version: command does not take operands "
5402 usage(_("illegal global option -- {0}").format(e.opt))
5415 usage(_("{opt} takes argument of form "
5440 usage(retcode=0, full=False, cmd=sub)
5442 # Only display the long usage message
5444 usage(retcode=0, full=True,
5447 usage(_("unknown subcommand "
5450 usage(retcode=0, full=True)
5452 usage(retcode=0, full=True)
5454 # A gauntlet of tests to see if we need to print usage information
5456 usage(retcode=0, cmd=subcommand, full=False)
5458 usage(_("unknown subcommand '{0}'").format(subcommand),
5461 usage(retcode=0, full=True)
5463 usage(_("no subcommand specified"), full=True)
5468 usage(_("runid must be an integer"))
5473 usage(retcode=0, full=False, cmd=subcommand)
5489 usage(_("-R not allowed for {0} subcommand").format(
5495 usage(_("illegal option -- {0}").format(e.opt),
5538 usage(_("illegal option -- {0}").format(e.opt),
5545 opts_mapping, usage)
5548 usage(_("illegal argument -- {0}").format(
5609 # directly to usage().
5613 usage(str(new_e), cmd=subcommand)