Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

contrib/LWPsearch.pl: support DSML output format of LWP::Protocol::ldap

  • Loading branch information...
commit 9a0ffe5896f42323394310aeda5bddfa1fbc5279 1 parent 31c741d
Peter Marschall marschap authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 contrib/LWPsearch.pl
8 contrib/LWPsearch.pl
@@ -19,10 +19,10 @@
19 19 # die on errors on the command line
20 20 die "Usage: LWPsearch [<options>] <LDAP-URL>\n" .
21 21 " where <options> are:\n" .
22   - " -f --format {html|ldif|json} output format\n" .
  22 + " -f --format {dsml|html|json|ldif} output format\n" .
23 23 " -u --user <username> user name (DN) to logon to LDAP server\n" .
24 24 " -p --password <password> password to logon to LDAP server\n"
25   - if (!$result || scalar(@ARGV) != 1 || ($format && $format !~ /^(json|ldif|html)$/));
  25 + if (!$result || scalar(@ARGV) != 1 || ($format && $format !~ /^(dsml|json|ldif|html)$/));
26 26
27 27 # create a user agent object
28 28 my $ua = LWP::UserAgent->new;
@@ -55,7 +55,7 @@ =head1 NAME
55 55 =head1 SYNOPSIS
56 56
57 57 B<LWPsearch.pl>
58   -[B<-f|--format> {C<html>|C<json>|C<ldif>}]
  58 +[B<-f|--format> {C<dsml>|C<html>|C<json>|C<ldif>}]
59 59 [B<-u|--user> I<user>]
60 60 [B<-p|--password> I<password>]
61 61 B<LDAP-URL>
@@ -74,7 +74,7 @@ =head1 OPTIONS
74 74
75 75 =over 4
76 76
77   -=item B<-f|--format> {C<html>|C<json>|C<ldif>}
  77 +=item B<-f|--format> {C<dsml>|C<html>|C<json>|C<ldif>}
78 78
79 79 Specifies the the output format to use.
80 80

0 comments on commit 9a0ffe5

Please sign in to comment.
Something went wrong with that request. Please try again.