Boost logo

Boost-Build :

From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2005-06-04 16:23:25


Hi,

Since the Boost Jam build produces a binary called "bjam"
and not "jam", should the "usage" message reflect this?

Index: jam.c
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/jam_src/jam.c,v
retrieving revision 1.35
diff -u -r1.35 jam.c
--- jam.c 30 May 2005 03:42:38 -0000 1.35
+++ jam.c 4 Jun 2005 21:21:31 -0000
@@ -214,6 +214,7 @@
int status;
int arg_c = argc;
char ** arg_v = argv;
+ const char *progname = argv[0];

# ifdef OS_MAC
InitGraf(&qd.thePort);
@@ -240,7 +241,7 @@

if( getoptions( argc, argv, "-:d:j:f:gs:t:ano:qv", optv ) < 0 )
{
- printf( "\nusage: jam [ options ] targets...\n\n" );
+ printf( "\nusage: %s [ options ] targets...\n\n", progname );

printf( "-a Build all targets, even if they are current.\n" );
printf( "-dx Set the debug level to x (0-9).\n" );

-- 
Craig Rodrigues 
rodrigc_at_[hidden]
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk