Revision: 55010
http://brlcad.svn.sourceforge.net/brlcad/?rev=55010&view=rev
Author: carlmoore
Date: 2013-04-02 18:23:34 +0000 (Tue, 02 Apr 2013)
Log Message:
-----------
touch up 3 messages, and add -h flag per pix-png discussion
Modified Paths:
--------------
brlcad/trunk/src/mged/cad_parea.c
Modified: brlcad/trunk/src/mged/cad_parea.c
===================================================================
--- brlcad/trunk/src/mged/cad_parea.c 2013-04-02 17:55:20 UTC (rev 55009)
+++ brlcad/trunk/src/mged/cad_parea.c 2013-04-02 18:23:34 UTC (rev 55010)
@@ -45,7 +45,7 @@
static void
Usage(void) /* print usage message */
{
- printf("Usage: cad_parea[ -i input][ -o output]\n");
+ printf("Usage: cad_parea [ -i input] [ -o output]\n");
}
@@ -112,7 +112,7 @@
if (!BU_STR_EQUAL(bu_optarg, "-")
&& freopen(bu_optarg, "r", stdin) == NULL
) {
- printf("cad_parea: can't open \"%s\"\n", bu_optarg);
+ printf("cad_parea: can't open \"%s\" for reading\n",
bu_optarg);
return 0;
}
break;
@@ -127,12 +127,13 @@
if (!BU_STR_EQUAL(bu_optarg, "-")
&& freopen(bu_optarg, "w", stdout) == NULL
) {
- printf("cad_parea: can't create \"%s\"\n", bu_optarg);
+ printf("cad_parea: can't open \"%s\" for writing\n",
bu_optarg);
return 0;
}
break;
case '?':
+ case 'h':
Usage(); /* print usage message */
return 0;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits