From: Jan Kupec Date: Fri, 17 Aug 2007 11:58:02 +0000 (+0000) Subject: - more of text clean-up X-Git-Tag: BASE-SuSE-Linux-10_3-Branch~119 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04c021eaede25c0f36355d76a38902a7183100fa;p=platform%2Fupstream%2Fzypper.git - more of text clean-up --- diff --git a/doc/zypper.8 b/doc/zypper.8 index 6a06068..b80183c 100644 --- a/doc/zypper.8 +++ b/doc/zypper.8 @@ -234,7 +234,11 @@ Add a new repository specified by URI and assign specified alias to it. Read URI and alias from specified .repo file .TP \fI\-t, \-\-type\fR -Type of repository (YaST, YUM, or plaindir). +Type of repository (yast2, rpm-md, or plaindir). There are several aliases +defined for these types: +\fByast2\fR - susetags, yast, YaST, YaST2, YAST; +\fBrpm-md\fR - repomd, rpmmd, yum, YUM; +\fBplaindir\fR - Plaindir. .TP \fI\-d, \-\-disabled\fR Add the repository as disabled. diff --git a/src/zypper.cc b/src/zypper.cc index a954f99..19cba45 100644 --- a/src/zypper.cc +++ b/src/zypper.cc @@ -241,17 +241,17 @@ int one_command(int argc, char **argv) struct option *specific_options = &no_options; string specific_help; - string help_global_source_options = _( +/* string help_global_source_options = _( " Repository options:\n" "\t--disable-repositories, -D\t\tDo not read data from defined repositories.\n" "\t--plus-repo \t\tRead additional repository\n" //! \todo additional repo - ); + );*/ //! \todo preserve for rug comp. "\t--disable-system-sources, -D\t\tDo not read the system sources\n" //! \todo preserve for rug comp. "\t--source, -S\t\tRead additional source\n" - string help_global_target_options = _(" Target options:\n" - "\t--disable-system-resolvables, -T\t\tDo not read system installed resolvables\n" - ); +// string help_global_target_options = _(" Target options:\n" +// "\t--disable-system-resolvables, -T\t\tDo not read system installed resolvables\n" +// ); if (command == ZypperCommand::HELP) { @@ -491,7 +491,9 @@ int one_command(int argc, char **argv) }; specific_options = update_options; specific_help = _( - "'update' - Update all installed resolvables with newer versions, where applicable.\n" + "update (up) [options]\n" + "\n" + "Update all installed resolvables with newer versions, where applicable.\n" "\n" " Command options:\n" "\n" @@ -600,7 +602,7 @@ int one_command(int argc, char **argv) specific_help = _( "info ...\n" "\n" - "'info' -- Show full information for packages\n" + "Show full information for packages\n" "\n" " Command options:\n" "\n" @@ -618,7 +620,7 @@ int one_command(int argc, char **argv) specific_help = _( "patch-info ...\n" "\n" - "'patch-info' -- Show detailed information for patches\n" + "Show detailed information for patches\n" "\n" "This is a rug compatibility alias for 'zypper info -t patch'\n" ); @@ -632,7 +634,7 @@ int one_command(int argc, char **argv) specific_help = _( "moo\n" "\n" - "'moo' - Show an animal\n" + "Show an animal\n" "\n" "This command has no additional options.\n" ); @@ -647,7 +649,7 @@ int one_command(int argc, char **argv) specific_help = _( "xml-updates\n" "\n" - "'xml-updates' - Show updates and patches in xml format\n" + "Show updates and patches in xml format\n" "\n" " Command options:\n" "-r, --repo Work only with updates from repository specified by alias.\n"