summaryrefslogtreecommitdiff
path: root/cpp/demo/Database/Oracle/proc/Client.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-08-11 20:22:11 +0000
committerBernard Normier <bernard@zeroc.com>2006-08-11 20:22:11 +0000
commitd52aa8985079e59a31e54f23208a9c5250cea4a0 (patch)
treed9ade13b5a14741d9ee6f4201eefc748d4204d13 /cpp/demo/Database/Oracle/proc/Client.cpp
parentFixed Sun CC build (diff)
downloadice-d52aa8985079e59a31e54f23208a9c5250cea4a0.tar.bz2
ice-d52aa8985079e59a31e54f23208a9c5250cea4a0.tar.xz
ice-d52aa8985079e59a31e54f23208a9c5250cea4a0.zip
Bug fixes
Diffstat (limited to 'cpp/demo/Database/Oracle/proc/Client.cpp')
-rw-r--r--cpp/demo/Database/Oracle/proc/Client.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/demo/Database/Oracle/proc/Client.cpp b/cpp/demo/Database/Oracle/proc/Client.cpp
index af09a5a8de0..72067ef783d 100644
--- a/cpp/demo/Database/Oracle/proc/Client.cpp
+++ b/cpp/demo/Database/Oracle/proc/Client.cpp
@@ -59,7 +59,7 @@ HRClient::HRClient() :
"dept <identity>: set department <identity> as the current department\n"
"emp <identity>: set employee <identity> as the current employee\n"
"exit: exit client\n"
- "help: prints this list of commands\n"
+ "help: print this list of commands\n"
"root: go back to the root menu\n";
_rootCommands =
@@ -114,7 +114,8 @@ HRClient::checkCin(const string& command) const
void
HRClient::invalidCommand(const string& command) const
{
- cout << "Invalid command '" << command << "'" << endl;
+ cout << "Invalid command '" << command << "'. "
+ "Type 'help' for help." << endl;
cin.ignore(numeric_limits<streamsize>::max(), '\n');
}