Mailinglist Archive: yast-commit (723 mails)

< Previous Next >
[yast-commit] r47284 - in /trunk/core: liby2/src/genericfrontend.cc package/yast2-core.changes
  • From: mvidner@xxxxxxxxxxxxxxxx
  • Date: Mon, 05 May 2008 14:17:31 -0000
  • Message-id: <20080505141732.21B37270C4@xxxxxxxxxxxxxxxx>
Author: mvidner
Date: Mon May 5 16:17:31 2008
New Revision: 47284

URL: http://svn.opensuse.org/viewcvs/yast?rev=47284&view=rev
Log:
Show search path when client is not found (bnc#342213).

Modified:
trunk/core/liby2/src/genericfrontend.cc
trunk/core/package/yast2-core.changes

Modified: trunk/core/liby2/src/genericfrontend.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/core/liby2/src/genericfrontend.cc?rev=47284&r1=47283&r2=47284&view=diff
==============================================================================
--- trunk/core/liby2/src/genericfrontend.cc (original)
+++ trunk/core/liby2/src/genericfrontend.cc Mon May 5 16:17:31 2008
@@ -680,6 +680,14 @@
if (!client)
{
print_error ("No such client module %s", client_name);
+
+ std::list<string>::const_iterator
+ i = YCPPathSearch::searchListBegin(YCPPathSearch::Client),
+ e = YCPPathSearch::searchListEnd(YCPPathSearch::Client);
+ fprintf (stderr, "The search path follows. It does not include the
current directory.\n");
+ for (; i != e; ++i)
+ fprintf (stderr, " %s\n", i->c_str());
+
print_usage ();
exit (5);
}

Modified: trunk/core/package/yast2-core.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/core/package/yast2-core.changes?rev=47284&r1=47283&r2=47284&view=diff
==============================================================================
--- trunk/core/package/yast2-core.changes (original)
+++ trunk/core/package/yast2-core.changes Mon May 5 16:17:31 2008
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon May 5 16:16:37 CEST 2008 - mvidner@xxxxxxx
+
+- Show search path when client is not found (bnc#342213).
+
+-------------------------------------------------------------------
Mon May 5 13:08:05 CEST 2008 - mvidner@xxxxxxx

- Allow literal strings as arguments (bnc#382883):

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages