Option parsing is expected to stop after a bare double-dash (--). The current shortcuts for --help don't honor this. When creating wrapper commands that are expected to pass user-provided arguments to an underlying command, this can capture unintended options.
It's desirable to allow passing a -- to prevent the head command from parsing the remaining arguments.
Option parsing is expected to stop after a bare double-dash (
--
). The current shortcuts for--help
don't honor this. When creating wrapper commands that are expected to pass user-provided arguments to an underlying command, this can capture unintended options.It's desirable to allow passing a
--
to prevent the head command from parsing the remaining arguments.See sdispater/poetry#1215