From 552bfc97f603f1fd15ea50335c614dc23a582111 Mon Sep 17 00:00:00 2001 From: darkeye Date: Sun, 2 Sep 2001 12:24:29 +0000 Subject: [PATCH] now displays usage info when no command line parameters given --- darkice/trunk/src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/darkice/trunk/src/main.cpp b/darkice/trunk/src/main.cpp index 0b6197e..3721d05 100644 --- a/darkice/trunk/src/main.cpp +++ b/darkice/trunk/src/main.cpp @@ -122,6 +122,7 @@ main ( } if ( !configFileName ) { + showUsage( cout); throw Exception( __FILE__, __LINE__, "no configuration file specified"); } @@ -171,6 +172,9 @@ showUsage ( ostream & os ) $Source$ $Log$ + Revision 1.8 2001/09/02 12:24:29 darkeye + now displays usage info when no command line parameters given + Revision 1.7 2001/08/30 17:25:56 darkeye renamed configure.h to config.h