diff options
author | Benjamin Drung <bdrung@debian.org> | 2014-03-10 23:55:31 +0100 |
---|---|---|
committer | Benjamin Drung <bdrung@debian.org> | 2014-03-10 23:55:31 +0100 |
commit | 9f29b77d5bbfcd7ad78fc9356df4c147cea9bb40 (patch) | |
tree | 2a3951ed30a6cf79000a2f13d67a5158963fecc1 | |
parent | 691bcf999bd2e73324e42f43cfea201a02b96439 (diff) |
xpi-repack: Print meaningful error message when --upstream-version is missing.
Closes: #740762
-rwxr-xr-x | xpi-repack | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -92,6 +92,9 @@ def main(): if not args.package: args.package = get_source_package_name(script_name) + if not args.version: + parser.error("Unknown upstream version. " + "You have to specify one with --upstream-version.") repack_xpi(script_name, args.package, args.version, args.xpi_file, args.verbose) |