Skip to content

Support --argumentfile case-insensitively and document that shortening it does not work #2535

Closed

Description

@pekkaklarck

While implementing #2420, I noticed that --argumentfile option doesn't work case-insensitively like --ArgumentFile similarly as other long options do. Additionally using shorter but unique variants like --argumentf don't work either. Both of these limitations are due to --argumentfile being handled using its own logic before using Python's getopt that actually handles argument parsing. Case-insensitivity support is pretty easy to add to our own code, but handling shortened variants is not. My plan is to enhance this situation as follows:

  • Support --ArgumentFile style.
  • Document in the User Guide that --argumentf style doesn't work.
  • If possible/easy, explicitly check that --argumentfstyle wasn't used.

Activity

  1. added this to the 3.0.2 milestone on Jan 31, 2017
  2. self-assigned this
    on Jan 31, 2017
  3. pekkaklarck commented on Jan 31, 2017

    @pekkaklarck
    MemberAuthor

    Tasks listed in the original description done by the commits above. This issue is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions