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

Make upgrade help inform of list ability #2034

Merged
merged 3 commits into from
Mar 24, 2022

Conversation

Trenly
Copy link
Contributor

@Trenly Trenly commented Mar 21, 2022

PS > wingetdev  -?
Windows Package Manager (Preview) v1.3.2-preview
Copyright (c) Microsoft Corporation. All rights reserved.

The winget command line utility enables installing applications and other packages from the command line.

usage: winget [<command>] [<options>]

The following commands are available:
  install    Installs the given package
  show       Shows information about a package
  source     Manage sources of packages
  search     Find and show basic info of packages
  list       Display installed packages
  upgrade    Shows and performs available upgrades
  uninstall  Uninstalls the given package
  hash       Helper to hash installer files
  validate   Validates a manifest file
  settings   Open settings or set administrator settings
  features   Shows the status of experimental features
  export     Exports a list of the installed packages
  import     Installs all the packages in a file

For more details on a specific command, pass it the help argument. [-?]

The following options are available:
  -v,--version  Display the version of the tool
  --info        Display general info of the tool

More help can be found at: https://aka.ms/winget-command-help
PS > wingetdev upgrade -?
Windows Package Manager (Preview) v1.3.2-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Upgrades the selected package, either found by searching the installed packages list or directly from a manifest. By default, the query must case-insensitively match the id, name, or moniker of the package. Other fields can be used by passing their appropriate option.
When no arguments are given, shows the packages with upgrades available

usage: winget upgrade [[-q] <query>] [<options>]

The following arguments are available:
  -q,--query                   The query used to search for a package

The following options are available:
  -m,--manifest                The path to the manifest of the package
  --id                         Filter results by id
  --name                       Filter results by name
  --moniker                    Filter results by moniker
  -v,--version                 Use the specified version; default is the latest version
  -s,--source                  Find package using the specified source
  -e,--exact                   Find package using exact match
  -i,--interactive             Request interactive installation; user input may be needed
  -h,--silent                  Request silent installation
  -o,--log                     Log location (if supported)
  --override                   Override arguments to be passed on to the installer
  -l,--location                Location to install to (if supported)
  --force                      Override the installer hash check
  --accept-package-agreements  Accept all license agreements for packages
  --accept-source-agreements   Accept all source agreements during source operations
  --header                     Optional Windows-Package-Manager REST source HTTP header
  --all                        Update all installed packages to latest if available
  --include-unknown            Upgrade packages even if their current version cannot be determined

More help can be found at: https://aka.ms/winget-command-upgrade
PS >

Microsoft Reviewers: Open in CodeFlow

@Trenly Trenly requested a review from a team as a code owner March 21, 2022 18:32
@denelon
Copy link
Contributor

denelon commented Mar 21, 2022

I believe the word "shows" would be more consistent than "lists".

@Trenly
Copy link
Contributor Author

Trenly commented Mar 21, 2022

I believe the word "shows" would be more consistent than "lists".

Updated

Copy link
Contributor

@yao-msft yao-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, actually we don't need to change other locales, they are handled by internal localization team and we pull from them at times.

@yao-msft
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yao-msft yao-msft merged commit e8e79b8 into microsoft:master Mar 24, 2022
@florelis florelis mentioned this pull request Mar 25, 2022
@Trenly Trenly deleted the UpgradeHelpText branch April 2, 2022 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants