Revision: 44876
          http://brlcad.svn.sourceforge.net/brlcad/?rev=44876&view=rev
Author:   bhinesley
Date:     2011-06-10 02:17:00 +0000 (Fri, 10 Jun 2011)

Log Message:
-----------
Applied patch 3247828, submitted by myself. Fixed sketch usage statment so that 
it isn't always printed, and clarified the output when an argument is 
mistakenly provided

Modified Paths:
--------------
    brlcad/trunk/src/proc-db/sketch.c

Modified: brlcad/trunk/src/proc-db/sketch.c
===================================================================
--- brlcad/trunk/src/proc-db/sketch.c   2011-06-09 21:57:33 UTC (rev 44875)
+++ brlcad/trunk/src/proc-db/sketch.c   2011-06-10 02:17:00 UTC (rev 44876)
@@ -61,8 +61,8 @@
        { 200, 200 }    /* 9 */
     };
 
-    if (argc > 0)
-       bu_log("Usage: %s\n", argv[0]);
+    if (argc > 1)
+       bu_log("Usage: %s\nWarning - ignored unsupported argument \"%s\"\n", 
argv[0], argv[1]);
 
     VSET(V, 10, 20, 30);
     VSET(u_vec, 1, 0, 0);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to