diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-22 19:20:28 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-22 19:20:28 -0500 |
commit | fe54812cd70955f47af4010cedcf26e7ff6b592a (patch) | |
tree | ec58341471422024636cb9987dde565f3321a8de /servers/auth_server_lin/src/main.cpp | |
parent | 58cefd2d0172e7c1b51e00472a87df03e52c66c3 (diff) | |
download | ulab-fe54812cd70955f47af4010cedcf26e7ff6b592a.tar.gz ulab-fe54812cd70955f47af4010cedcf26e7ff6b592a.zip |
Add server index
Diffstat (limited to 'servers/auth_server_lin/src/main.cpp')
-rw-r--r-- | servers/auth_server_lin/src/main.cpp | 7 |
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); |