aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas <skangas@skangas.se>2012-05-28 02:34:46 +0200
committerStefan Kangas <skangas@skangas.se>2012-05-28 02:34:46 +0200
commit118d9457d718c9011a85aa73321bc8eb3153e688 (patch)
tree02623f4821b67ad9a934bb13e35d6220ebf2eb16
parentf5613a0977edfcf162f75f63dd98d6a1fa9e1db4 (diff)
searchdomain: add shortopt for debug
-rwxr-xr-xfripost-searchdomain4
1 files changed, 2 insertions, 2 deletions
diff --git a/fripost-searchdomain b/fripost-searchdomain
index 91e7e72..1507fea 100755
--- a/fripost-searchdomain
+++ b/fripost-searchdomain
@@ -49,7 +49,7 @@ The default value is read from the configuration file, see B<CONFIGURATION>.
The root DN for everything done by B<fripost-searchdomain>.
The default value is read from the configuration file, see B<CONFIGURATION>.
-=item B<--debug>
+=item B<-d>, B<--debug>
Debug mode.
@@ -106,7 +106,7 @@ GetOptions(
'bind_dn=s' => \$conf->{bind_dn},
'bind_pw=s' => \$conf->{bind_pw},
'pretend' => \$conf->{pretend},
- 'debug' => \$conf->{debug},
+ 'debug|d' => \$conf->{debug},
'man' => sub { pod2usage(-exitstatus => 0,
-verbose => 2) }
) or pod2usage(2);