Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't pass rr-opts #11

Closed
NickHu opened this issue Sep 18, 2022 · 2 comments
Closed

Can't pass rr-opts #11

NickHu opened this issue Sep 18, 2022 · 2 comments

Comments

@NickHu
Copy link
Contributor

NickHu commented Sep 18, 2022

No matter what I try to do, I can't pass options to rr. For example:

❯ cargo rr replay mytrace -s 1234 
error: Found argument '-s' which wasn't expected, or isn't valid in this context

USAGE:
    cargo rr replay [trace] [rr-opts] [-- <gdb-opts>...]

For more information try --help
@NickHu
Copy link
Contributor Author

NickHu commented Sep 18, 2022

So the problem is essentially that any rr option you would want to use begins with -, which then gets intercepted by clap rather than passed through.

@dzfranklin
Copy link
Owner

Fixed in #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants