commandline icon indicating copy to clipboard operation
commandline copied to clipboard

Duplicate errors list at some circumstances

Open zii-dmg opened this issue 8 years ago • 0 comments

Pass no arguments, use verbs, have no CopyrightAttribute and no AssemblyCompanyAttribute on assembly. Result is help text with duplicate errors list:

Tests2 1.0.0.0
Copyright (C) 1 author
ERROR(S):
No verb selected.
ERROR(S):
No verb selected.

Reasons: HelpText.cs, line 229, first errors list, HelpText.cs, line 239, second errors list.

First is appearing because CopyrightInfo.Default throwing exception because no assembly attributes. Second is appearing because we have NoVerbSelectedError.

Also strange that default copyright have author "author" and year 1 when no attributes. Maybe copyright should be empty and not written to console.

zii-dmg avatar Jan 20 '17 16:01 zii-dmg