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.

贡献者指南