Author: lslezak Date: Wed Jul 27 14:39:03 2011 New Revision: 65035 URL: http://svn.opensuse.org/viewcvs/yast?rev=65035&view=rev Log: fixed if/else branches Modified: trunk/yast2/library/commandline/src/CommandLine.ycp Modified: trunk/yast2/library/commandline/src/CommandLine.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/commandline/src/CommandLine.ycp?rev=65035&r1=65034&r2=65035&view=diff ============================================================================== --- trunk/yast2/library/commandline/src/CommandLine.ycp (original) +++ trunk/yast2/library/commandline/src/CommandLine.ycp Wed Jul 27 14:39:03 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