summaryrefslogtreecommitdiff
path: root/Debian/Debhelper
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2016-10-01 16:40:17 +0000
committerNiels Thykier <niels@thykier.net>2016-10-01 16:40:17 +0000
commite9ee7898595b965cd67004f7e17b7549183d2989 (patch)
tree226a6e90a50c314f7255c3b14f6264766274440d /Debian/Debhelper
parent172e0f4e20619b1cc971a71a0bcf06c3354debb8 (diff)
downloaddebhelper-e9ee7898595b965cd67004f7e17b7549183d2989.tar.gz
Add a dash in --no-scripts and --only-scripts for consistency
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'Debian/Debhelper')
-rw-r--r--Debian/Debhelper/Dh_Getopt.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Debian/Debhelper/Dh_Getopt.pm b/Debian/Debhelper/Dh_Getopt.pm
index 181a88dd..22ef536d 100644
--- a/Debian/Debhelper/Dh_Getopt.pm
+++ b/Debian/Debhelper/Dh_Getopt.pm
@@ -112,8 +112,10 @@ sub getoptions {
"n" => \$dh{NOSCRIPTS},
"noscripts" => \$dh{NOSCRIPTS},
+ "no-scripts" => \$dh{NOSCRIPTS},
"o" => \$dh{ONLYSCRIPTS},
"onlyscripts" => \$dh{ONLYSCRIPTS},
+ "only-scripts" => \$dh{ONLYSCRIPTS},
"X=s" => \&AddExclude,
"exclude=s" => \&AddExclude,