Changeset 1a43ce7
- Timestamp:
- Mar 26, 2008, 2:24:26 AM (17 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 50558dc
- Parents:
- 8faab0c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
r6b580b0 r1a43ce7 25 25 use Net::DNS; 26 26 use Getopt::Long; 27 Getopt::Long::Configure(qw(no_getopt_compat prefix_pattern="-|--")); 27 28 28 29 our $VERSION = 0.1; … … 477 478 'account=s' => \$from, 478 479 'id=s' => \$jwrite_sid, 479 ) ;480 ) or die("Usage: jwrite JID [-t thread] [-s 'subject'] [-a account]\n"); 480 481 $jwrite_type = 'groupchat' if $gc; 481 482 … … 567 568 568 569 my $getopt = Getopt::Long::Parser->new; 569 $getopt->configure('pass_through' );570 $getopt->configure('pass_through', 'no_getopt_compat'); 570 571 $getopt->getoptions( 'account=s' => \$jid ); 571 572 $jid ||= defaultJID(); … … 731 732 my $purgeGroups; 732 733 my $getopt = Getopt::Long::Parser->new; 733 $getopt->configure('pass_through' );734 $getopt->configure('pass_through', 'no_getopt_compat'); 734 735 $getopt->getoptions( 735 736 'account=s' => \$jid,
Note: See TracChangeset
for help on using the changeset viewer.