Ejemplo n.º 1
0
void usage(tool_options_t &opts)
{
    fprintf(stderr,
            "Usage:\n"
            "  nltool -help\n"
            "  nltool [options]\n"
            "\n"
            "Where:\n"
           );
    fprintf(stderr, "%s\n", opts.help().cstr());
}
Ejemplo n.º 2
0
void usage(tool_options_t &opts)
{
	perr("{}",
		"Usage:\n"
		"  nltool --help\n"
		"  nltool [options]\n"
		"\n"
		"Where:\n"
	);
	perr("{}\n", opts.help().cstr());
}