Lines Matching refs:usage
130 def usage(usage_error=None, cmd=None, retcode=2, full=False):
131 """Emit a usage message and optionally prefix it with a more
139 # The full usage message isn't desired.
195 Displays a usage message."""))
231 usage(_("At least one package pattern must be provided."),
236 usage(_("A package repository location must be provided "
288 usage(_("Network repositories are not currently supported "
302 usage(_("No repository location specified."), cmd=subcommand)
346 usage(_("No repository location specified."), cmd=subcommand)
348 usage(_("Network repositories are not currently supported "
352 usage(_("At least one publisher must be specified"),
412 usage(_("No repository location specified."), cmd=subcommand)
414 usage(_("Network repositories are not currently supported "
418 usage(_("At least one publisher must be specified"),
491 usage(_("Version must be an integer value."),
495 usage(_("Only one repository location may be specified."),
502 usage(_("No repository location specified."), cmd=subcommand)
504 usage(_("Network repositories are not currently supported "
545 usage(_("A package repository location must be provided "
814 usage(_("command does not take operands"), cmd=subcommand)
818 usage(_("A package repository location must be provided "
921 usage(_("A package repository location must be provided "
1091 usage(_("A package repository location must be provided "
1268 usage(_("command does not take operands"), cmd=subcommand)
1276 usage(_("A package repository location must be provided "
1317 usage(_("command does not take operands"), cmd=subcommand)
1325 usage(_("A package repository location must be provided "
1405 usage(_("a property name and value must be provided in the "
1411 usage(_("A package repository location must be provided "
1427 usage(_("unknown property section "
1431 usage(_("'{0}' may not be set using "
1436 usage(_("unknown property '{0}'").format(
1445 usage(_("One or more publishers must be specified to "
1524 usage(_("command does not take operands"), cmd=subcommand)
1672 usage(_("Invalid verification to be disabled, "
1679 usage(_("command does not take operands"), cmd=subcommand)
1683 usage(_("A package repository location must be provided "
1687 usage(_("Network repositories are not currently supported "
1692 usage(_("-d or -i option cannot be used when dependency "
1762 usage(_("command does not take operands"), cmd=subcommand)
1766 usage(_("A package repository location must be provided "
1770 usage(_("Network repositories are not currently supported "
2187 usage(_("--{0} must be specified following a "
2197 usage(_("only two repositories can be "
2219 usage(_("command does not take any operands"), cmd=subcommand)
2222 usage(_("-q and -v can not be combined"), cmd=subcommand)
2226 usage(_("Two package repository locations must be provided "
2231 usage(_("A second package repository location must also be "
2261 usage(_("illegal global option -- {0}").format(e.opt))
2274 usage(_("{opt} takes argument of form "
2289 usage(retcode=0, full=True)
2291 usage(_("no subcommand specified"))
2297 usage(_("unknown subcommand '{0}'").format(subcommand))
2303 usage(full=True)
2304 usage(_("illegal option -- {0}").format(e.opt), cmd=subcommand)