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

Unset Configuration Values #551

Closed
zhao-xu opened this issue Jan 16, 2016 · 0 comments
Closed

Unset Configuration Values #551

zhao-xu opened this issue Jan 16, 2016 · 0 comments

Comments

@zhao-xu
Copy link
Contributor

zhao-xu commented Jan 16, 2016

Configuration such as proxy can be activated in command as choco config set proxy http://sample, but there is no way to turn that off.
Due to the restriction of config set command, you can't usechoco config set proxy "" to remove proxy address.
I think it's better to stick with that to avoid unwanted effect and add a unset command to remove proxy settings
e.g.
choco config unset proxy

zhao-xu added a commit to zhao-xu/choco that referenced this issue Jan 16, 2016
Proxy can be set by 'config set proxy server', but there is no way to
turn that off. A new command 'config unset proxy' is created to do the
job.
@ferventcoder ferventcoder changed the title Unable to turn off proxy Unset Configuration Values Jan 18, 2016
@ferventcoder ferventcoder added this to the 0.9.10 milestone Jan 18, 2016
@ferventcoder ferventcoder self-assigned this Jan 18, 2016
ferventcoder pushed a commit that referenced this issue Jan 18, 2016
Proxy can be set by 'config set proxy server', but there is no way to
turn that off. A new command 'config unset proxy' is created to do the
job.
ferventcoder added a commit that referenced this issue Jan 18, 2016
* pr545:
  (GH-551) Unset Configuration Values

Closes #545
ferventcoder added a commit that referenced this issue Jan 18, 2016
* stable:
  (GH-551) Unset Configuration Values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants