Lines Matching refs:usage
81 def usage(usage_error=None, cmd=None, retcode=EXIT_BADOPT):
82 """Emit a usage message and optionally prefix it with a more specific
112 usage(_("illegal global option -- {0}").format(e.opt))
127 usage(_("The proto directory {0} could not be "
134 usage(_("-D arguments must be of the form "
151 usage(retcode=EXIT_OK)
153 usage(_("Generate only accepts one or two arguments."))
156 usage(_("ORIGIN may not be specified using -D. It will be "
164 usage(_("The manifest file {0} could not be found.").format(manf),
169 usage(_("The proto directory {0} could not be found.").format(
173 usage(_("At least one proto directory must be provided."),
224 usage(_("illegal global option -- {0}").format(e.opt))
244 usage(_("-o cannot be used with -d or -s"))
250 usage(_("The manifest file {0} could not be found.").format(
256 usage(_("The output directory {0} is not a directory.").format(
552 usage(_("illegal global option -- {0}").format(e.opt))
569 usage(retcode=EXIT_OK)
571 usage()
575 usage(_("generate subcommand doesn't use -R"))
580 usage(_("unknown subcommand '{0}'").format(subcommand))