commandlineparser/commandline

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

開放

#399 建立於 2019年1月23日

 (13 則留言) (0 個反應) (0 位負責人)C# (461 個分叉)batch import
good first issue

倉庫指標

星標
 (4,280 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南