commandlineparser / commandlineparser/commandline

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

Aperta
#399 13 commenti 0 reazioni 0 assegnatari Vedi su GitHub
good first issue
Lingua principale
C#
Stelle
4.8k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.