-
Notifications
You must be signed in to change notification settings - Fork 904
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
Include information about --version option in choco help documentation #2049
Comments
@ferventcoder it looks like @entvex is interested in helping with this issue. Can you please provide a little bit more information about exactly what you were thinking here? Is it an additional option here: Or were you thinking of something else? |
No, unfortunately it is not something that would go top level, it would literally be added after the fact of those items. |
So basically something that would be noted in the help menu, but not part of adding it to options. |
@ferventcoder I am having some trouble understanding what you mean here at first you say
but then later
Do you mean to say it would be an entry that would appear after the last switch/option after using the command choco -?
This is a listing of all of the different things you can pass to choco.
Commands
...
Default Options and Switches
...
--log-file=VALUE
Log File to output to in addition to regular loggers. Available in 0.1-
0.8+.
The --version switch can be used to determine the current version of your choco installation.
Chocolatey v0.10.15 Where the second from last line
Or if there is preferred verbiage and or formatting other than what I have noted please mention. |
As we talked about on gitter.im, I would like to help solve this issue. |
@ferventcoder as mentioned, I think more guidance is required here on exactly where this change should be made. I don't believe that the current open PR addresses it in the correct location. Thoughts? |
@ferventcoder @gep13 if more guidance, is provided, I would like to help solve this :) |
I think originally I just wanted it to be added as a note in |
Provide information about the ability to use the -v, and --version, options on the top level choco command to print out information about the current Chocolatey version. Co-authored-by: DeeHechEss <[email protected]>
Running choco --version reports the currently installed Chocolatey version number, but this option wasn't included in the tab expansion options for the top level choco command, this change adds this in.
* stable: (44 commits) (#2220) Add convert command to allowed list (#2049) Add --version to top level tab expansion (#944) Add tab expansion for help command (#357) Add tab expansion for export command (#357) Ensure to use full file path (maint) fix typo (maint) formatting (doc) pin: show reasons option (maint) log message on nuget conflict (#2270) Update to NuGet.exe 5.9.1.11 (#2049) Add version option to help text (#2112) Add msp support to Install helper (maint) Change formatting (maint) Switch to using a Regex match (#2244) Add badge for latest docker semver version (#2244) Add status badge for GitHub Action (#2261) Minor tweak to remove extra space (#2261) Updates License Headers Copyright to 2021 (#2263) Pack on Mono pass absolute path to PackageBuilder (#2244) Add Docker build into main workflow ...
Ensure when running the top level help that
--version
is mentioned as an option for outputting the version information.Reference: https://twitter.com/hunterz0/status/1261487482006315018?s=21
The text was updated successfully, but these errors were encountered: