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

Scripts set in config files are cleared when passing scripts on the command line #953

Closed
fimad opened this issue Feb 17, 2016 · 3 comments
Closed
Labels
Milestone

Comments

@fimad
Copy link
Contributor

fimad commented Feb 17, 2016

In my config file I have several scripts that provide content views and do other miscellaneous things that I would like to apply to all my sessions. If I invoke mitmproxy with any scripts on the command line then all the scripts I defined in my config file are overridden and only the scripts on the command line are used.

Is this the intended behavior? If it is, would it be possible to add a new flag for scripts that are not intended to be overridden by scripts passed on the command line?

@mhils
Copy link
Member

mhils commented Feb 18, 2016

Happy to see what kind of power users we have 😄
This looks more like a silly limitation of ConfigArgParse than intended behavior.

@dufferzafar
Copy link
Contributor

I feel this is a legitimate feature request for mitm and have created an upstream issue over at ConfigArgParse. If they are willing to add this to the library, I'd be happy to work on it and send them a pull. 😺

@cortesi cortesi modified the milestone: 1.0 Nov 1, 2016
@cortesi
Copy link
Member

cortesi commented Nov 1, 2016

See #1699

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

No branches or pull requests

4 participants