[zypp-commit] r8086 - /trunk/zypper/src/zypper.cc
Author: jkupec Date: Mon Dec 10 11:53:49 2007 New Revision: 8086 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8086&view=rev Log: - syntax and dist-upgrade command added to the help Modified: trunk/zypper/src/zypper.cc Modified: trunk/zypper/src/zypper.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper.cc?rev=8086&r1=8085&r2=8086&view=diff ============================================================================== --- trunk/zypper/src/zypper.cc (original) +++ trunk/zypper/src/zypper.cc Mon Dec 10 11:53:49 2007 @@ -151,12 +151,18 @@ "\tlist-updates, lu\tList updates\n" "\txml-updates, xu\t\tList updates and patches in xml format\n" "\tupdate, up\t\tUpdate installed resolvables with newer versions.\n" + "\tdist-upgrade, dup\tPerform a distribution upgrade\n" "\tinfo, if\t\tShow full information for packages\n" "\tpatch-info\t\tShow full information for patches\n" "\tsource-install, si\tInstall a source package\n" ""); + + static string help_usage = _( + " Usage:\n" + "\tzypper [--global-options] <command> [--command-options] [arguments]\n" + ); - cout << help_global_options << endl << help_commands; + cout << help_usage << endl << help_global_options << endl << help_commands; } void Zypper::print_unknown_command_hint() -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
jkupec@svn.opensuse.org