aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/dch.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-09-15 07:01:38 +0200
committerGuido Günther <agx@sigxcpu.org>2016-09-15 07:22:11 +0200
commit3feba4924f2b13376c9237cab7aae4346304ab2f (patch)
tree28fb03bd778ff59f5dec6049fdd8d66c749516af /gbp/scripts/dch.py
parentef7ca4a4d7a71a470182f5e88a2a3398853daa9f (diff)
dch: make urgency a config file option
so it can be set via gbp.conf Closes: #837680
Diffstat (limited to 'gbp/scripts/dch.py')
-rw-r--r--gbp/scripts/dch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/dch.py b/gbp/scripts/dch.py
index 88e1c054..2ccbacbd 100644
--- a/gbp/scripts/dch.py
+++ b/gbp/scripts/dch.py
@@ -354,7 +354,7 @@ def build_parser(name):
"even if it doesn't match the list of known distributions")
version_group.add_option("-N", "--new-version", dest="new_version",
help="use this as base for the new version number")
- version_group.add_option("-U", "--urgency", dest="urgency", help="Set urgency level")
+ version_group.add_config_file_option("urgency", dest="urgency")
version_group.add_option("--bpo", dest="bpo", action="store_true", default=False,
help="Increment the Debian release number for an upload to backports, "
"and add a backport upload changelog comment.")