Author: jkupec Date: Sun Oct 26 22:04:38 2008 New Revision: 11493 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11493&view=rev Log: - better error message Modified: trunk/zypper/src/install.cc Modified: trunk/zypper/src/install.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/install.cc?rev=11493&r1=11492&r2=11493&view=diff ============================================================================== --- trunk/zypper/src/install.cc (original) +++ trunk/zypper/src/install.cc Sun Oct 26 22:04:38 2008 @@ -508,13 +508,11 @@ continue; } - // recognize missplaced command line options given as packages - // bnc#391644 + // recognize missplaced command line options given as packages (bnc#391644) if ( str[0] == '-' ) { - // FIXME show a message here, after string freeze - //zypper.out().error(boost::str(format(_("%s is not a valid package or capability name.") % str)); - zypper.out().error(_("No valid arguments specified.")); + zypper.out().error(boost::str(format( + _("'%s' is not a valid package or capability name.")) % str)); zypper.setExitCode(ZYPPER_EXIT_ERR_INVALID_ARGS); ZYPP_THROW(ExitRequestException()); } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org