Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getopt::Long:Configure pass_throught just for unknowm

Status
Not open for further replies.

noahgrad

Programmer
Joined
Dec 26, 2005
Messages
2
Location
DE
Hi,

I am using Getopt::Long:Configure with pass_through (because I wrote a wrapper script).

Here is the definition:
"Options that are unknown, ambiguous or supplied with an invalid option value are passed through in @ARGV instead of being flagged as errors. This makes it possible to write wrapper scripts that process only part of the user supplied command line arguments, and pass the remaining options to some other program."

But I want to pass_through just the unknown options and to give an error about the ambiguous options.
Does someone know how can I do it?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top