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

choco install --help shouldn't issue warning about elevated command shell #893

Closed
majkinetor opened this issue Aug 5, 2016 · 3 comments
Closed

Comments

@majkinetor
Copy link

When I

cinst --help | less

it blocks.

@majkinetor
Copy link
Author

Furthermore, -y does nothing wich is a bug, since it should confirm yes on ALL questions.

@ferventcoder
Copy link
Member

Furthermore, -y does nothing wich is a bug, since it should confirm yes on ALL questions.

Provide perhaps a bit more information? Some confirmations have timeouts, so are able to pop to provide a better experience.

@majkinetor
Copy link
Author

majkinetor commented Aug 5, 2016

PS> cinst -help -y
Chocolatey detected you are not running from an elevated command shell
 (cmd/powershell).

 You may experience errors - many functions/packages
 require admin rights. Only advanced users should run choco w/out an
 elevated shell. When you open the command shell, you should ensure
 that you do so with "Run as Administrator" selected. If you are
 attempting to use Chocolatey in a non-administrator setting, you
 must select a different location other than the default install
 location. See
 https://chocolatey.org/install#non-administrative-install for details.

For the question below, you have 20 seconds to make a selection.

 Do you want to continue?([Y]es/[N]o):

@ferventcoder ferventcoder modified the milestones: 0.10.1, 0.10.x Sep 13, 2016
@ferventcoder ferventcoder changed the title choco install --help shouldn't issue warnning about elevated command shell choco install --help shouldn't issue warning about elevated command shell Sep 13, 2016
@ferventcoder ferventcoder self-assigned this Sep 13, 2016
ferventcoder added a commit that referenced this issue Sep 14, 2016
When running help menus, it should not warn about the need for elevated
rights.
ferventcoder added a commit that referenced this issue Sep 14, 2016
* stable:
  (doc) update generated docs for command reference
  (doc) add source to functions
  (doc) add new line in helper reference
  (GH-935) search/info/list --version
  (doc) provide more awareness about licensed
  (GH-893) Fix: Help Warns Required Elevated Rights
  (GH-959) Fix: Licensed feed cannot be disabled
  (GH-960) Fix: 7z File System Redirection
  (GH-938) Suggest choco help on unknown command
  (doc) Synchronizer/Enhancements to Autouninstaller
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