summaryrefslogtreecommitdiffstats
path: root/servers/auth_server_lin/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'servers/auth_server_lin/src/main.cpp')
-rw-r--r--servers/auth_server_lin/src/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/servers/auth_server_lin/src/main.cpp b/servers/auth_server_lin/src/main.cpp
index b023cf6..a4b233a 100644
--- a/servers/auth_server_lin/src/main.cpp
+++ b/servers/auth_server_lin/src/main.cpp
@@ -39,6 +39,12 @@
#include "auth_conn.h"
+static const KCmdLineOptions options[] =
+{
+ { "+[id]", I18N_NOOP( "Set server id to 'id'" ), 0 },
+ { 0, 0, 0 }
+};
+
static const char description[] = I18N_NOOP("RemoteFPGA Kerberos Authentication Server");
static const char version[] = "v0.0.1";
@@ -50,6 +56,7 @@ int main(int argc, char *argv[])
"(c) 2012, Timothy Pearson");
aboutData.addAuthor("Timothy Pearson",0, "kb9vqf@pearsoncomputing.net");
KCmdLineArgs::init( argc, argv, &aboutData );
+ KCmdLineArgs::addCmdLineOptions(options);
KApplication::disableAutoDcopRegistration();
KApplication app(false, false);