Author: wyoung
Date: Thu Jan 3 19:56:06 2008
New Revision: 2089
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2089&view=rev
Log:
exrun usage message tweaks
Modified:
trunk/exrun
Modified: trunk/exrun
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/exrun?rev=2089&r1=2088&r2=2089&view=diff
==============================================================================
--- trunk/exrun (original)
+++ trunk/exrun Thu Jan 3 19:56:06 2008
@@ -1,14 +1,14 @@
#!/bin/sh
if [ -z "$1" ]
then
- echo "usage: $0 <example> [args...]"
+ echo "usage: $0 [TOOL] <example> [args...]"
echo
echo " Runs the given example, using the library in the current
directory"
echo " instead of using the system library search mechanism. Accepts
an "
echo " arbitrary number of arguments."
echo
- echo " Example can be 'valgrind' instead, in which case we run the
example"
- echo " under valgrind in memory checking mode."
+ echo " TOOL can be 'valgrind', 'gdb', or 'ldd', which causes exrun to"
+ echo " run the example program under the given tool."
echo
exit 1
fi
@@ -53,7 +53,7 @@
# VC++ build, but using Cygwin's bash as shell to run programs
cmd.exe /c exrun.bat $PROG $*
else
- echo "usage: $0 $TOOL <example> [args...]"
+ echo "usage: $0 [TOOL] <example> [args...]"
echo
echo " Run $0 without arguments for more detailed usage info."
echo
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits