Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/others.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ Then read through this list of influences and/or alternatives!

* Cons:

* Its use is `discouraged <http://bash.cumulonim.biz/BashFAQ(2f)035.html#getopts>`_ --- it seems to have some issues, you still need to deal with positional arguments by other means.
* The legacy version cannot handle whitespaces and metacharacters at all. It's also non-standard, so there's no guarantee of it existing.

* ``getopts``: ``bash`` builtin for parsing command-line.

* Pros:

* Being included with ``bash``, it behaves the same on all platforms.
* Being included with POSIX ``sh``, it behaves the same on all platforms.

* Cons:

Expand Down