Changeset 14990 for lang/csharp

Show
Ignore:
Timestamp:
07/01/08 16:20:31 (5 months ago)
Author:
mayuki
Message:

条件が逆になってた。

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/csharp/CommandLineParser/CommandLineParser/CommandLineParser.cs

    r14987 r14990  
    103103                Object defaultValue; 
    104104                Boolean hasDefaultValue = GetDefaultValue(pi, out defaultValue); 
    105                 String defaultOrRequired = (hasDefaultValue ? "(Required)" : "(Default: " + defaultValue.ToString() + ")"); 
     105                String defaultOrRequired = (hasDefaultValue ? "(Default: " + defaultValue.ToString() + ")" : "(Required)"); 
    106106                String[] optionNames = GetOptionNames(pi); 
    107107                String optionName = (DelimiterizeAndToLowerCase ? ToLowerAndDelimiterize(optionNames[0]) : optionNames[0]);