| 220 | char const * saved_argv0; |
| 221 | |
| 222 | static void usage( const char * progname ) |
| 223 | { |
| 224 | err_printf("\nusage: %s [ options ] targets...\n\n", progname); |
| 225 | |
| 226 | err_printf("-a Build all targets, even if they are current.\n"); |
| 227 | err_printf("-dx Set the debug level to x (0-13,console,mi).\n"); |
| 228 | err_printf("-fx Read x instead of bootstrap.\n"); |
| 229 | /* err_printf( "-g Build from newest sources first.\n" ); */ |
| 230 | err_printf("-jx Run up to x shell commands concurrently.\n"); |
| 231 | err_printf("-lx Limit actions to x number of seconds after which they are stopped.\n"); |
| 232 | err_printf("-mx Maximum target output saved (kb), default is to save all output.\n"); |
| 233 | err_printf("-n Don't actually execute the updating actions.\n"); |
| 234 | err_printf("-ox Mirror all output to file x.\n"); |
| 235 | err_printf("-px x=0, pipes action stdout and stderr merged into action output.\n"); |
| 236 | err_printf("-q Quit quickly as soon as a target fails.\n"); |
| 237 | err_printf("-sx=y Set variable x=y, overriding environment.\n"); |
| 238 | err_printf("-tx Rebuild x, even if it is up-to-date.\n"); |
| 239 | err_printf("-v Print the version of jam and exit.\n"); |
| 240 | #ifdef HAVE_PYTHON |
| 241 | err_printf("-z Disable Python Optimization and enable asserts\n"); |
| 242 | #endif |
| 243 | err_printf("--x Option is ignored.\n\n"); |
| 244 | |
| 245 | exit( EXITBAD ); |
| 246 | } |
| 247 | |
| 248 | int main( int argc, char * * argv ) |
| 249 | { |