[darwinbuild-changes] [202] trunk/darwinxref/DBPlugin.c

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 4 01:58:30 PDT 2006


Revision: 202
          http://trac.macosforge.org/projects/darwinbuild/changeset/202
Author:   kevin
Date:     2006-10-04 01:58:30 -0700 (Wed, 04 Oct 2006)

Log Message:
-----------
- show error when plugin not found

Modified Paths:
--------------
    trunk/darwinxref/DBPlugin.c

Modified: trunk/darwinxref/DBPlugin.c
===================================================================
--- trunk/darwinxref/DBPlugin.c	2005-08-29 20:50:56 UTC (rev 201)
+++ trunk/darwinxref/DBPlugin.c	2006-10-04 08:58:30 UTC (rev 202)
@@ -210,6 +210,8 @@
 			cfprintf(stderr, "usage: %s [-f db] [-b build] %@ %@\n", progname, name, usage);
 			CFRelease(usage);
 			return;
+		} else {
+			cfprintf(stderr, "%s: no such command: %@\n", progname, name);
 		}
 	}
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/23f76d73/attachment.html


More information about the darwinbuild-changes mailing list