From 4fef52324a621163fce5f71c4536a3b065c3c702 Mon Sep 17 00:00:00 2001 From: Jan Kupec Date: Mon, 10 Dec 2007 10:53:49 +0000 Subject: [PATCH] - syntax and dist-upgrade command added to the help --- src/zypper.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/zypper.cc b/src/zypper.cc index d545b38..e070528 100644 --- a/src/zypper.cc +++ b/src/zypper.cc @@ -151,12 +151,18 @@ void print_main_help() "\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-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() -- 2.7.4