[yast-commit] r40719 - in /trunk/autoinstallation: VERSION package/autoyast2.changes src/clients/autoyast.ycp
Author: ug Date: Mon Sep 3 16:07:25 2007 New Revision: 40719 URL: http://svn.opensuse.org/viewcvs/yast?rev=40719&view=rev Log: commandline options fixed (#269887) Modified: trunk/autoinstallation/VERSION trunk/autoinstallation/package/autoyast2.changes trunk/autoinstallation/src/clients/autoyast.ycp Modified: trunk/autoinstallation/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/VERSION?rev=40719&r1=40718&r2=40719&view=diff ============================================================================== --- trunk/autoinstallation/VERSION (original) +++ trunk/autoinstallation/VERSION Mon Sep 3 16:07:25 2007 @@ -1 +1 @@ -2.15.14 +2.15.15 Modified: trunk/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/package/autoyast2.changes?rev=40719&r1=40718&r2=40719&view=diff ============================================================================== --- trunk/autoinstallation/package/autoyast2.changes (original) +++ trunk/autoinstallation/package/autoyast2.changes Mon Sep 3 16:07:25 2007 @@ -1,4 +1,14 @@ ------------------------------------------------------------------- +Mon Sep 3 16:07:03 CEST 2007 - ug@suse.de + +- commandline options fixed (#269887) + +------------------------------------------------------------------- +Mon Aug 20 17:50:03 CEST 2007 - ug@suse.de + +- 2.15.15 + +------------------------------------------------------------------- Mon Aug 20 14:49:22 CEST 2007 - mvidner@suse.cz - Require nfs-kernel-server.rpm because nfs-utils.rpm got split (#286300). Modified: trunk/autoinstallation/src/clients/autoyast.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/clients/autoyast.ycp?rev=40719&r1=40718&r2=40719&view=diff ============================================================================== --- trunk/autoinstallation/src/clients/autoyast.ycp (original) +++ trunk/autoinstallation/src/clients/autoyast.ycp Mon Sep 3 16:07:25 2007 @@ -71,6 +71,7 @@ map cmdline = $[ "id" : "autoyast2", "help" : _("autoyast"), + "guihandler" : AutoSequence, "actions" : $[ "file" : $[ "handler":openFile, "help":"file operations" ] ], @@ -84,11 +85,8 @@ "file" : ["filename"] ] ]; - if(!CommandLine::Init(cmdline, WFM::Args())) - { - y2error("Commandline init failed"); - return (symbol)AutoSequence (); - } + + // command line options /* Init variables */ string command = ""; @@ -97,25 +95,8 @@ string exit = ""; list l = []; - while(!CommandLine::Done()) - { - map m = CommandLine::Command(); - command = m["command"]:"exit"; - options = m["options"]:$[]; - - if( command == "file" ) { - openFile(options); - } else { - /* maybe we got "exit" or "quit" */ - if( !CommandLine::Done() ) { - CommandLine::Print("Unknown command (should not happen)"); - continue; - } - } - } - + CommandLine::Run(cmdline); - symbol ret = (symbol)AutoSequence (); AddOnProduct::CleanModeConfigSources(); - return ret; + return `exit; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ug@svn.opensuse.org