-------------------------------------------------------------------
+Tue Aug 28 17:51:43 CEST 2007 - mvidner@suse.cz
+
+- "help foo" now works like "foo --help" (by Dominique Leuenberger, #299818).
+
+-------------------------------------------------------------------
Tue Aug 28 17:40:25 CEST 2007 - kkaempf@suse.de
- support "-r" (limit to repo) on search (#305384)
// "\t--disable-system-resolvables, -T\t\tDo not read system installed resolvables\n"
// );
+ if ( (command == ZypperCommand::HELP) && (argc > 1) )
+ try {
+ ghelp = true;
+ command = ZypperCommand(argv[1]);
+ }
+ catch (Exception & ex) {
+ // in case of an unknown command specified to help, an exception is thrown
+ }
+
if (command == ZypperCommand::HELP)
{
cout << help_commands;