From ab2f2469c061271fe29914d8e42e617caea7ad6b Mon Sep 17 00:00:00 2001 From: ccremers Date: Thu, 29 Dec 2005 09:35:08 +0000 Subject: [PATCH] - Added help text for the environment variables. --- src/switches.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/switches.c b/src/switches.c index 355c7a9..d626b0e 100644 --- a/src/switches.c +++ b/src/switches.c @@ -1080,6 +1080,19 @@ switcher (const int process, int index, int commandline) return index + 1; } } + + // Now show the environment variables + if (!process) + { + printf + ("\nThere are two environment variables that influence the behaviour of Scyther.\n"); + printf + (" SCYTHERFLAGS Put any default command-line options here, syntax as on the command line.\n"); + printf + (" SCYTHERDIR Colon-separated path of directories to search for input files if a file\n"); + printf (" is not found in the current directory.\n"); + } + return 0; }