ROBOhdrs/usage [ Functions ]
NAME
usage
SYNOPSIS
* static void usage(void)
SOURCE
static void usage( void ) { printf( "%s version %s, robodoc header insertor\n", PROGNAME, PROGVERSION ); printf( "(c) 2003 Frans Slothouber and Petteri Kettunen\n" ); printf( "%s comes with ABSOLUTELY NO WARRANTY.\n", PROGNAME ); printf ( "This is free software, and you are welcome to redistribute it\n" ); printf( "under the GNU GENERAL PUBLIC LICENSE terms and conditions.\n" ); printf( "usage: %s [options] <source file>\n", PROGNAME ); printf( "Options are as follows:\n" ); printf( " -h show this help text\n" ); printf ( " -i specify header item (repeat to include multiple items)\n" ); printf( " -l specify source code language (default C/C++)\n" ); printf ( " Supported options are: fortran, fortran90, script, and tex.\n" ); printf( " -p specify project name\n" ); printf( " -s include SOURCE item\n" ); printf( " -t specify CVS/RCS tag to be inserted into a file\n" ); printf( " -x specify path to ctags binary\n" ); printf( "NOTE: requires Exuberant Ctags 5.3.1 (or newer)\n" ); printf( "EXAMPLES:\n" ); printf ( "robohdrs -s -p myproj -i \"MODIFICATION HISTORY\" -i IDEAS test.c\n" ); printf ( "robohdrs -s -p myproj -l script -t '%cHeader:%c' test.tcl\n", '$', '$' ); exit( 1 ); }