Lines Matching refs:usage
140 def usage(text=None, retcode=2, full=False):
141 """Optionally emit a usage message and then exit using the specified
148 # The full usage message isn't desired.
436 # This flag is purposefully omitted in usage.
449 usage(_("property arguments must be of "
533 usage("pkg.depotd: {0}".format(_e.msg))
535 usage("pkg.depotd: {0}".format(str(_e)))
537 usage("pkg.depotd: option: {0} -- {1}".format(opt, _e))
539 usage("pkg.depotd: illegal option value: {0} specified " \
543 usage(retcode=0, full=True)
564 usage("--add-content cannot be used with --rebuild")
566 usage("--refresh-index cannot be used with --rebuild")
568 usage("--readonly and --mirror cannot be used with --rebuild "
571 usage("--mirror cannot be used with --refresh-index")
573 usage("--readonly can only be used with --refresh-index if "
576 usage("--image-root can only be used with --llmirror.")
578 usage("--image_root and --writable-root cannot be used "
581 usage("--image-root and -d cannot be used together.")
599 usage("Either PKG_REPO or -d must be provided")
611 usage("The --ssl-cert-file and --ssl-key-file options must "