+option_definitions = [
+ ('DIR', 'b', 'build-root', _ ("unpack and build in DIR [%s]") % build_root),
+ ('COMMAND', 'c', 'command', _ ("execute COMMAND, subtitute:") \
+ + '\n ' + _ ("%b: build root") \
+ + '\n ' + _ ("%n: package name") \
+ + '\n ' + _ ("%r: release directory") \
+ + '\n ' + _ ("%t: tarball") \
+ + '\n ' + _ ("%v: package version") \
+ ),
+ ('', 'h', 'help', _ ("this help")),
+ ('', 'k', 'keep', _ ("keep all output, and name the directory %s") % temp_dir),
+ ('EMAIL', 'n', 'notify', _ ("upon failure notify EMAIL[,EMAIL]")),
+ ('', 'r', 'remove-previous', _ ("remove previous build")),
+ ('', 'V', 'verbose', _ ("verbose")),
+ ('', 'v', 'version', _ ("print version number")),
+ ('URL', 'u', 'url', _ ("fetch and build URL [%s]") % url),
+ ('', 'w', 'warranty', _ ("show warranty and copyright")),
+ ]