[yast-commit] r65039 - /branches/SuSE-Code-11-SP2-Branch/yast2/library/commandline/src/CommandLine.ycp
Author: lslezak Date: Wed Jul 27 14:45:09 2011 New Revision: 65039 URL: http://svn.opensuse.org/viewcvs/yast?rev=65039&view=rev Log: fixed if/else branches Modified: branches/SuSE-Code-11-SP2-Branch/yast2/library/commandline/src/CommandLine.ycp Modified: branches/SuSE-Code-11-SP2-Branch/yast2/library/commandline/src/CommandLine.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/library/commandline/src/CommandLine.ycp?rev=65039&r1=65038&r2=65039&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/library/commandline/src/CommandLine.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/library/commandline/src/CommandLine.ycp Wed Jul 27 14:45:09 2011 @@ -507,7 +507,7 @@ { helptext = ((map<string,string>)opthelp)[action]:""; } - if (is(opthelp, list<string>)) + else if (is(opthelp, list<string>)) { string delim = sformat("\n %1 %2 ", String::Pad("",longestopt), String::Pad("", longestarg)); helptext = mergestring((list<string>)opthelp, delim); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn2.opensuse.org