-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Open
Description
Describe the bug
Using e.g. vcpkg fetch nuget as outlined in the documentation here does not always work.
In some cases, vcpkg outputs additional text to stdout, such as
A suitable version of nuget was not found (required v7.0.1).
Downloading https://dist.nuget.org/win-x86-commandline/v7.0.1/nuget.exe -> ef1d4af5-nuget.exe
Successfully downloaded ef1d4af5-nuget.exe
C:\Users\Timo\.vcpkg-clion\vcpkg\downloads\tools\nuget-7.0.1-windows\nuget.exe
Running with --x-stderr-status reduces the output to stdout, but still prints this to stdout:
Downloading https://dist.nuget.org/win-x86-commandline/v7.0.1/nuget.exe -> ef1d4af5-nuget.exe
Successfully downloaded ef1d4af5-nuget.exe
C:\Users\Timo\.vcpkg-clion\vcpkg\downloads\tools\nuget-7.0.1-windows\nuget.exe
Environment
- OS: Windows
- Compiler: N/A
To Reproduce
Steps to reproduce the behavior:
./vcpkg.exe fetch nugetwithout having nuget installed- Output to stdout contains multiple status messages
Expected behavior
Output to stdout should only be the path to the downloaded binary, at least when invoked with --x-stderr-status, but it contains more text making it unusable as outlined in the documentation.
Metadata
Metadata
Assignees
Labels
No labels