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

Usability clarification for help "?" #483

Open
denelon opened this issue Jul 7, 2020 · 1 comment
Open

Usability clarification for help "?" #483

denelon opened this issue Jul 7, 2020 · 1 comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.

Comments

@denelon
Copy link
Contributor

denelon commented Jul 7, 2020

winget --version will output the version of the tool
image

Given the logic that you can enter -? at any level reminds me much of Cisco IOS and speaking for Windows

  • fsutil
  • netsh
  • dism

but it is not overly very common in Windows to have the ability to specify /? any time with the previous level of commands. Some have it some have not.

Thanks for giving me the idea winget would favour this. Powershell does not offer a context sensitive help, quite unfortunately.

Before this dupe is entirely wasted time, please let us have a PR to make the winget ? more pointing out to this.

Still I see a inconsistency with the commandline options, we might discuss this in a new bug / feature request:

example

winget ? = help (fallback)
winget /? = help (fallback)
winget -? = help
winget --? = help

next level:
winget install ? or winget install /?
"no matching criteria"

winget install --? works
winget install -? works

Albeit help says:
Wenn Sie weitere Details zu einem bestimmten Befehl erfahren möchten, übergeben Sie ihm das Hilfe-Argument. [-?]

I would rather see it here

Die folgenden Optionen stehen zur Verfügung:
-v,--version Version des Tools anzeigen
--info Allgemeine Informationen zum Tool anzeigen
-?, --? kontextsensitive Hilfe.
Wenn Sie weitere Details zu einem bestimmten Befehl erfahren möchten,
übergeben Sie ihm das Hilfe-Argument

Mind we are still on Windows, and -- commandlines are not common here. For a new tool like winget, which I see a bright future and major positive impact, we should not be dev-oriented but user oriented striving for consistency and clear and concise UX without reading docs, eventually with command lines everything should to work /? or ? see also, I refrain, microsoft/terminal#4632 (comment)
Otherwise winget is a Linux User friendly command line tool, but not so Windows user friendly.

IF we want to drop /? in favour for -? or --? or even ? I am absolutely ok with that

Then please leave a remark when winget /? is issued "please use -? or --? for help"

Originally posted by @Karl-WE in #478 (comment)

@ghost ghost added the Needs-Triage Issue need to be triaged label Jul 7, 2020
@denelon denelon added Issue-Feature This is a feature request for the Windows Package Manager client. and removed Needs-Triage Issue need to be triaged labels Jul 7, 2020
@Karl-WE
Copy link
Contributor

Karl-WE commented Jul 7, 2020

Thanks for split @denelon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

No branches or pull requests

2 participants