-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Best I can tell there is no way to specify that a short option should have an argument. I've tried the following:
This errors:
opts = getopt.create([
["d=ARG"]
}).parseSystem();
This is what I gather from the documentation:
opts = getopt.create([
["d", "="]
}).parseSystem();
This is literally copying the documentation:
opts = getopt.create([
["S", "="]
}).parseSystem();
With each of these it lets me pass in -d (or -S in the last one), but any attempts to specify -d=bla or -d bla get ignored and querying opts["d"] is undefined.
Metadata
Metadata
Assignees
Labels
No labels