Author: kmachalkova Date: Tue Aug 26 19:26:36 2008 New Revision: 50388 URL: http://svn.opensuse.org/viewcvs/yast?rev=50388&view=rev Log: These examples never worked (todo: add some more) Modified: trunk/network/src/clients/lan.ycp Modified: trunk/network/src/clients/lan.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/clients/lan.ycp?rev=50388&r1=50387&r2=50388&view=diff ============================================================================== --- trunk/network/src/clients/lan.ycp (original) +++ trunk/network/src/clients/lan.ycp Tue Aug 26 19:26:36 2008 @@ -52,13 +52,18 @@ "show" : $[ /* Commandline command help */ "help" : _("Display configuration summary"), - "example" : "lan show id=...", + "example" : "lan show id=0", "handler" : ShowHandler, ], "add" : $[ /* Commandline command help */ "help" : _("Add a network card"), "handler" : AddHandler, + "example" : [ + "add device=eth0", + "add device=eth0 type=ethernet bootproto=dhcp", + "add device=eth0 name=bond0" + ] ], "edit" : $[ "help" : _("Change existing configuration"), @@ -89,23 +94,19 @@ /* Commandline option help */ "help" : _("Device identifier"), "type" : "string", - "example" : "lan add device=eth0" ], "id" : $[ /* Commandline option help */ "help" : _("Config identifier"), "type" : "string", - "example" : "lan show id=0" ], "bootproto" : $[ "help" : _("Use static or dynamic configuration"), "type" : "string", - "example" : "add type=ethernet bootproto=dhcp" ], "name" : $[ "help" : _("Configuration Name"), "type" : "string", - "example" : "add name=bond0" ], "bootproto" : $[ /* Commandline option help */ -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org