[zypp-commit] r5827 - /trunk/zypper/src/zypper.cc
Author: jkupec Date: Fri Jun 22 10:14:52 2007 New Revision: 5827 URL: http://svn.opensuse.org/viewcvs/zypp?rev=5827&view=rev Log: enabled zypper info commands 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=5827&r1=5826&r2=5827&view=diff ============================================================================== --- trunk/zypper/src/zypper.cc (original) +++ trunk/zypper/src/zypper.cc Fri Jun 22 10:14:52 2007 @@ -462,7 +462,7 @@ "This command has no additional options.\n" ); } - else if (command == ZypperCommand::NONE) {//command_str == "info" || command_str == "if") { + else if (command == ZypperCommand::INFO) { static struct option info_options[] = { {"help", no_argument, 0, 'h'}, {0, 0, 0, 0} @@ -476,7 +476,7 @@ "This command has no additional options.\n" ); } - else if (command == ZypperCommand::NONE) {//command_str == "patch-info") { + else if (command == ZypperCommand::RUG_PATCH_INFO) { static struct option patch_info_options[] = { {"help", no_argument, 0, 'h'}, {0, 0, 0, 0} @@ -933,7 +933,8 @@ // -----------------------------( info )------------------------------------ - else if (command == ZypperCommand::NONE) {//command_str == "info" || command_str == "if" || command_str == "patch-info") { + else if (command == ZypperCommand::INFO || + command == ZypperCommand::RUG_PATCH_INFO) { if (ghelp || arguments.size() == 0) { cerr << specific_help; return !ghelp; -- 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