Package: libgetopt-euclid-perl
Version: 0.2.1-1
Severity: normal

Hello,

I'm trying to have two options with repeated placeholders, but each one
eat the second when both are specified.

According to the documentation, only "unconstrained repeated unflagged
placeholder will consume the rest of the command-line".

I provide a little test case.

Regards.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (90, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31+hati.2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgetopt-euclid-perl depends on:
ii  perl                          5.10.0-25  Larry Wall's Practical Extraction 
ii  perl-modules [libversion-perl 5.10.0-25  Core Perl modules

libgetopt-euclid-perl recommends no packages.

libgetopt-euclid-perl suggests no packages.

-- no debconf information

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

#!/usr/bin/perl -w

use strict;
use warnings;

use Getopt::Euclid;
use Data::Dumper;

print Dumper(%ARGV);

exit 1;

__END__

=head1 NAME

test.pl - sample Getopt::Euclid test program


=head1 REQUIRED ARGUMENTS

=over

=item --groups [=] <group>... | -g [=] <group>...

List of groups

=for Euclid:
    group.type: string

=item --hosts [=] <hostname>... | -h <hostname>...

List of hostnames.

=back

=cut

Attachment: pgpzHSKkVncar.pgp
Description: PGP signature

Reply via email to