1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-09 13:46:33 +00:00

procan prints C defines important for socat

This commit is contained in:
Gerhard Rieger 2008-01-31 21:41:13 +01:00
parent 706e3a6863
commit 989790c57f
5 changed files with 93 additions and 4 deletions

View file

@ -32,6 +32,7 @@ int main(int argc, const char *argv[]) {
#if WITH_HELP
case '?': case 'h': procan_usage(stdout); exit(0);
#endif /* WITH_HELP */
case 'c': procan_cdefs(stdout); exit(0);
#if LATER
case 'V': procan_version(stdout); exit(0);
case 'l': diag_set(arg1[0][2], &arg1[0][3]); break;
@ -79,6 +80,7 @@ static void procan_usage(FILE *fd) {
#if WITH_HELP
fputs(" -?|-h print a help text describing command line options\n", fd);
#endif
fputs(" -c print values of compile time C defines\n", fd);
#if LATER
fputs(" -d increase verbosity (use up to 4 times; 2 are recommended)\n", fd);
#endif