pgetopts: recognise "-" as non-option and end option parsing #31

Open
opened 2023-04-17 08:06:54 +02:00 by ni · 2 comments
ni commented 2023-04-17 08:06:54 +02:00 (Migrated from git.w21.org)

Currently an argument of "-" is recognised as "here are options", but as there are no options, effectively ignored. This is a bug.

I want to be able to use this as a regular command argument, often standing for "use stdin instead of a file named here". Thus, pgetopts shall see this as a normal, option-parsing-ending command argument. This is a feature.

Must be documented.

Currently an argument of "-" is recognised as "here are options", but as there are no options, effectively ignored. This is a bug. I want to be able to use this as a regular command argument, often standing for "use stdin instead of a file named here". Thus, pgetopts shall see this as a normal, option-parsing-ending command argument. This is a feature. Must be documented.
ni commented 2023-04-17 08:06:54 +02:00 (Migrated from git.w21.org)

assigned to @ni

assigned to @ni
ni commented 2023-04-17 08:07:36 +02:00 (Migrated from git.w21.org)

changed the description

changed the description
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
w21/jpylib#31
No description provided.