Skip to content

--suppress-inital-details is not working #5698

@Trenly

Description

@Trenly

Relevant area(s)

WinGet CLI

Relevant command(s)

winget configure

Brief description of your issue

--suppress-inital-details is not working

Steps to reproduce

Run a dsc command with '--suppress-inital-details is not working'

Expected behavior

The details to be suppressed

Actual behavior

PS C:\Users\kaleb> winget dsc
Windows Package Manager v1.11.430
Copyright (c) Microsoft Corporation. All rights reserved.

Required argument not provided: 'file'

Ensures that the system matches the desired state as described by the provided configuration. May download/execute processors in order to achieve the desired state. The configuration and the processors should be checked to ensure that they are trustworthy before applying them.

usage: winget configure [<command>] [[-f] <file>] [[--module-path] <module-path>] [<options>]

The following command aliases are available:
  configuration
  dsc

The following sub-commands are available:
  show      Shows details of a configuration
  list      Shows configuration history
  test      Checks the system against a desired state
  validate  Validates a configuration file
  export    Exports configuration resources to a configuration file.

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

The following arguments are available:
  -f,--file                          The path to the configuration file
  --module-path                      Specifies the location on the local computer to store modules. Default %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules

The following options are available:
  --processor-path                   Specify the path to the configuration processor
  -h,--history                       Select items from history
  --accept-configuration-agreements  Accepts the configuration warning, preventing an interactive prompt
  --suppress-initial-details         Suppress showing initial configuration details when possible
  --enable                           Enable configuration components. Requires store access.
  --disable                          Disable configuration components. Requires store access.
  -?,--help                          Shows help about the selected command
  --wait                             Prompts the user to press any key before exiting
  --logs,--open-logs                 Open the default logs location
  --verbose,--verbose-logs           Enables verbose logging for winget
  --nowarn,--ignore-warnings         Suppresses warning outputs
  --disable-interactivity            Disable interactive prompts
  --proxy                            Set a proxy to use for this execution
  --no-proxy                         Disable the use of proxy for this execution

More help can be found at: https://aka.ms/winget-command-configure
PS C:\Users\kaleb> winget dsc test E:\winget-pkgs\.config\YamlCreate.winget --accept-configuration-agreements --suppress-initial-details
Windows Package Manager v1.11.430
Copyright (c) Microsoft Corporation. All rights reserved.

Argument name was not recognized for the current command: '--suppress-initial-details'

Environment

PS C:\Users\kaleb> winget --info
Windows Package Manager v1.11.430
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.4946
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.26.430.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-ConfigureIssue related to WinGet ConfigurationIssue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions