aws-samples / aws-samples/amazon-textract-textractor

documentation for command line should be updated for nargs + positional arguments

Open
#272 0 comments 0 reactions 1 assignee Claimed by @Belval View on GitHub
documentation
Dominant language
Jupyter Notebook
Stars
493
Forks
163
PR merge metrics
No merged PRs in 30d

Description

There is a well known issue with python that using nargs + will mess up the calculation of positional arguments. Suggest in the documentation either
1) the optional arguments are shown last, after positionional ones, eg inputfile outputfile --print ALL
2) an example using the -- to 'turn off' nargs eating eg --print ALL -- inputfile outputfile

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.