Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7cec067031
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (16 sloc) 0.685 kb
/*****************************************************************************
* (c) SZABO Gergely, 2009
* Free software, distributed under the GNU GPL license
* There is absolutely no warranty.
*****************************************************************************/
// Utility to display Usage/Version text and exit if arg1 is "-h"/"-V"
// Text shall be defined as string initializer-lists in usage.h and version.h
// Generate headers automatically from plain text files with a make rule:
// %.h: %.txt
// sed -e 's/[ \t]*$$//g' -e 's/^/"/g' -e 's/$$/\\n",/g' <$< >$@
#ifndef __arg1
#define __arg1
void arg1Eval(const char* arg1);
void usage(void);
void version(void);
#endif
Jump to Line
Something went wrong with that request. Please try again.