Home > Net >  What does -h flag mean in winget?
What does -h flag mean in winget?

Time:01-30

I was working with WinGet, when I suddenly noticed why we write '-h' in command.

What is the use of this flag? I tried searching but couldn't find.

enter image description here

CodePudding user response:

Use winget <subcommand-h> -? to see all options for that command.

PS> winget upgrade -? | Select-String '-h\b'

  -h,--silent                          Request silent installation

You can also find the information online:

  • winget.exe main page
  • The subcommands have their own pages, linked from the main page.
    • To get directly to a subcommand's page, append the subcommand name to the main-page URL, e.g. winget upgrade
    • To jump directly to the list of options, append #options; e.g. winget upgrade options
  • Related