diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-06-29 03:07:26 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-06-29 03:07:26 +0000 |
commit | 9b52daa8512c34b9484ea43302578bc879d212da (patch) | |
tree | f10ce105b8c1c9f983e0f040b6f3176250453003 /src/paramproc.cpp | |
parent | 5e386890b41fe043e2639b25b613831ef8362e7b (diff) | |
download | libbu++-9b52daa8512c34b9484ea43302578bc879d212da.tar.gz libbu++-9b52daa8512c34b9484ea43302578bc879d212da.tar.bz2 libbu++-9b52daa8512c34b9484ea43302578bc879d212da.tar.xz libbu++-9b52daa8512c34b9484ea43302578bc879d212da.zip |
Added the outlines for command parameter handling, for unknown parameter
handling, and for automated help generation.
Diffstat (limited to 'src/paramproc.cpp')
-rw-r--r-- | src/paramproc.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/paramproc.cpp b/src/paramproc.cpp index 10284c4..eaaf466 100644 --- a/src/paramproc.cpp +++ b/src/paramproc.cpp | |||
@@ -396,3 +396,18 @@ ParamProc::ArgSpec *ParamProc::checkLetr( const char arg ) | |||
396 | return NULL; | 396 | return NULL; |
397 | } | 397 | } |
398 | 398 | ||
399 | int ParamProc::cmdParam( int argc, char *argv[] ) | ||
400 | { | ||
401 | printf("Unhandled command parameter \"%s\" found!\n", argv[0] ); | ||
402 | } | ||
403 | |||
404 | int ParamProc::unknownParam( int argc, char *argv[] ) | ||
405 | { | ||
406 | printf("Unknown parameter \"%s\" found!\n", argv[0] ); | ||
407 | } | ||
408 | |||
409 | int ParamProc::help( int argc, char *argv[] ) | ||
410 | { | ||
411 | // Insert help here later on | ||
412 | } | ||
413 | |||