You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose I am writing a program that executes another program, then of course it is convenient to take the arguments of the subprogram after --, as illustrated in the 22_stop_parsing_with_--.rs example. However, if the subprogram itself wants to receive --, then clap-rs does not seem to currently allow it, and -- is dropped.
To further explain, if I execute the 22_stop_parsing_with_--.rs example with the arguments -f -p=bob -- sloppy slop -a -- subprogram position args it prints the following:
Suppose there is a program that executes another program, then of
course it is convenient to take the arguments of the subprogram after
`--`, as illustrated in the 22_stop_parsing_with_--.rs example. However,
if the subprogram itself wants to receive `--`, then clap-rs should
allow it.
Fixesclap-rs#1161.
da-x
added a commit
to da-x/clap-rs
that referenced
this issue
Feb 3, 2018
Suppose there is a program that executes another program, then it is
convenient to take the arguments of the subprogram after `--`, as
illustrated in the 22_stop_parsing_with_--.rs example. However, if
the subprogram itself wants to receive `--`, then clap-rs should
allow it.
Fixesclap-rs#1161.
(clap-rs v2.29.2)
Hi,
Suppose I am writing a program that executes another program, then of course it is convenient to take the arguments of the subprogram after
--
, as illustrated in the22_stop_parsing_with_--.rs
example. However, if the subprogram itself wants to receive--
, thenclap-rs
does not seem to currently allow it, and--
is dropped.To further explain, if I execute the
22_stop_parsing_with_--.rs
example with the arguments-f -p=bob -- sloppy slop -a -- subprogram position args
it prints the following:Where did the second
--
go? Can I please have it back somehow?The text was updated successfully, but these errors were encountered: