summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Parser.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-06-29 18:33:29 +0000
committerBernard Normier <bernard@zeroc.com>2006-06-29 18:33:29 +0000
commite0d63d8a3ea3801c4958e290dbc91ea9c31d40b3 (patch)
treea34260dd657d4e803361300b12d6630ba5a94f2d /cpp/src/IceGrid/Parser.cpp
parentRevert last checkin (diff)
downloadice-e0d63d8a3ea3801c4958e290dbc91ea9c31d40b3.tar.bz2
ice-e0d63d8a3ea3801c4958e290dbc91ea9c31d40b3.tar.xz
ice-e0d63d8a3ea3801c4958e290dbc91ea9c31d40b3.zip
Removed GPL_BUILD; readline is no longer used by default on Linux
Diffstat (limited to 'cpp/src/IceGrid/Parser.cpp')
-rw-r--r--cpp/src/IceGrid/Parser.cpp26
1 files changed, 3 insertions, 23 deletions
diff --git a/cpp/src/IceGrid/Parser.cpp b/cpp/src/IceGrid/Parser.cpp
index af63d1504cf..0b6bcc8f030 100644
--- a/cpp/src/IceGrid/Parser.cpp
+++ b/cpp/src/IceGrid/Parser.cpp
@@ -17,10 +17,6 @@
#include <IceGrid/DescriptorParser.h>
#include <IceGrid/DescriptorHelper.h>
-#ifdef GPL_BUILD
-# include <IceGrid/GPL.h>
-#endif
-
#ifdef HAVE_READLINE
# include <readline/readline.h>
# include <readline/history.h>
@@ -120,11 +116,6 @@ Parser::usage()
" \"object list Ice*\".\n"
"\n"
"shutdown Shut the IceGrid registry down.\n"
-#ifdef GPL_BUILD
- "show copying Show conditions for redistributing copies of this\n"
- " program.\n"
- "show warranty Show the warranty for this program.\n"
-#endif
;
}
@@ -1162,30 +1153,19 @@ Parser::shutdown()
void
Parser::showBanner()
{
- cout << "Ice " << ICE_STRING_VERSION << " Copyright 2003-2005 ZeroC, Inc." << endl;
-#ifdef GPL_BUILD
- cout << gplBanner << endl;
-#endif
+ cout << "Ice " << ICE_STRING_VERSION << " Copyright 2003-2006 ZeroC, Inc." << endl;
}
void
Parser::showCopying()
{
-#if defined(GPL_BUILD)
- cout << gplCopying << endl;
-#else
- cout << "This command is not implemented yet." << endl;
-#endif
+ cout << "This command is not implemented." << endl;
}
void
Parser::showWarranty()
{
-#if defined(GPL_BUILD)
- cout << gplWarranty << endl;
-#else
- cout << "This command is not implemented yet." << endl;
-#endif
+ cout << "This command is not implemented." << endl;
}