diff options
author | Stefan Kangas <skangas@skangas.se> | 2012-05-28 02:34:46 +0200 |
---|---|---|
committer | Stefan Kangas <skangas@skangas.se> | 2012-05-28 02:34:46 +0200 |
commit | 118d9457d718c9011a85aa73321bc8eb3153e688 (patch) | |
tree | 02623f4821b67ad9a934bb13e35d6220ebf2eb16 /fripost-searchdomain | |
parent | f5613a0977edfcf162f75f63dd98d6a1fa9e1db4 (diff) |
searchdomain: add shortopt for debug
Diffstat (limited to 'fripost-searchdomain')
-rwxr-xr-x | fripost-searchdomain | 4 |
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); |