src/tools/lltest.c
/*===============================================
 * print_usage -- display program help/usage
 *  displays to stdout
 *=============================================*/
- display program help/usage
displays to stdout
- display program help / usage displays to stdout
void
print_usage (void)
{
#ifdef WIN32
	char * fname = _("\"\\My Documents\\LifeLines\\Databases\\MyFamily\"");
#else
	char * fname = _("/home/users/myname/lifelines/databases/myfamily");
#endif
	printf(_("lifelines `lltest' runs low-level tests of btree code.\n"));
	printf("\n\n");
	printf(_("Usage lltest [database] <options>"));
	printf("\n\n");
	printf(_("Options:"));
	printf("\n");
	printf(_("\t--help\tdisplay this help and exit"));
	printf("\n");
	printf(_("\t--version\toutput version information and exit"));
	printf("\n");
	printf(_("\t--verbose\tenable verbose test output"));
	printf("\n\n");
	printf(_("Examples:"));
	printf("\n");
	printf(_("\tlltest %s"), fname);
	printf("\n");
	printf(_("\tlltest %s --verbose"), fname);
	printf("\n\t\t");
	printf("%s", _(qSgen_bugreport));
	printf("\n");
}
void print_usage ( void ) { #ifdef WIN32 char * fname = _ ( " \" \\ \\ \\ \\ \" " ) ; #else char * fname = _ ( " " ) ; #endif printf ( _ ( " \n " ) ) ; printf ( " \n \n " ) ; printf ( _ ( " " ) ) ; printf ( " \n \n " ) ; printf ( _ ( " " ) ) ; printf ( " \n " ) ; printf ( _ ( " \t \t " ) ) ; printf ( " \n " ) ; printf ( _ ( " \t \t " ) ) ; printf ( " \n " ) ; printf ( _ ( " \t \t " ) ) ; printf ( " \n \n " ) ; printf ( _ ( " " ) ) ; printf ( " \n " ) ; printf ( _ ( " \t " ) , fname ) ; printf ( " \n " ) ; printf ( _ ( " \t " ) , fname ) ; printf ( " \n \t \t " ) ; printf ( " " , _ ( qSgen_bugreport ) ) ; printf ( " \n " ) ; }
print_usage -- display program help/usage
  displays to stdout
print_usage -- display program help / usage displays to stdout