X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=para.h;h=10931aaf08461cef768d95720a833e0f86f8139e;hp=8e1c72159748f923a02f975f309a8a94cfc1afce;hb=ce2bb6c458275ec6c0a115a2c814a15761474f11;hpb=32aeef08d1132ef9789ca16654ed1ec2b4dbbc42 diff --git a/para.h b/para.h index 8e1c7215..10931aaf 100644 --- a/para.h +++ b/para.h @@ -119,8 +119,18 @@ } -#define COPYRIGHT "Copyright (c) 1997-2006 by Andre Noll" - +#define VERSION_TEXT(prefix) "para_" prefix " " PACKAGE_VERSION "\n" \ + "Copyright (C) 2007 Andre Noll\n" \ + "This is free software with ABSOLUTELY NO WARRANTY." \ + " See COPYING for details.\n" \ + "Written by Andre Noll.\n" \ + "Report bugs to .\n" + +#define HANDLE_VERSION_FLAG(_prefix, _args_info_struct) \ + if (_args_info_struct.version_given) { \ + printf("%s", VERSION_TEXT(_prefix)); \ + exit(EXIT_SUCCESS); \ + } #define AWAITING_DATA_MSG "\nAwaiting Data." #define PROCEED_MSG "\nProceed.\n"