commandlineparser/commandline

Built in Help and Version output goes to stderr not stdout.

Ouverte

#399 ouverte le 23 janv. 2019

 (13 commentaires) (0 réaction) (0 personne assignée)C# (461 forks)batch import
good first issue

Métriques du dépôt

Stars
 (4 280 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

The built in --help and --version outputs are printed to stderr instead of stdout, you have to redirect them to use the commands properly.

test --version returns the version number, but on stderr not stdout.

e.g. test --version 2>nul returns no output. test --version 2>&1 prints the version to stdout as expected.

Guide contributeur