summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c56
1 files changed, 26 insertions, 30 deletions
diff --git a/src/main.c b/src/main.c
index 27e750e..861303a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,28 +1,28 @@
-/*****************************************************************************
- * ___ __ __ ___ _ __ *
- * / _ \\ \/ // _ \ '_ \ *
- * | (_) |> <| __/ | | | *
- * \___//_/\_\\___|_| |_| *
- * *
- * The card game *
- * *
- * Copyright (C) 2011, Reiner Herrmann <reiner@reiner-h.de> *
- * Mario Kilies <MarioKilies@GMX.net> *
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 3 of the License, or *
- * (at your option) any later version. *
- * *
- * This program is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
- * GNU General Public License for more details. *
- * *
- * You should have received a copy of the GNU General Public License *
- * along with this program. If not, see <http://www.gnu.org/licenses/>. *
- * *
- *****************************************************************************/
+/**************************************************************************
+ * ___ __ __ ___ _ __ *
+ * / _ \\ \/ // _ \ '_ \ *
+ * | (_) |> <| __/ | | | *
+ * \___//_/\_\\___|_| |_| *
+ * *
+ * The card game *
+ * *
+ * Copyright (C) 2011, Reiner Herrmann <reiner@reiner-h.de> *
+ * Mario Kilies <MarioKilies@GMX.net> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 3 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program. If not, see <http://www.gnu.org/licenses/>. *
+ * *
+ **************************************************************************/
#include <stdlib.h>
#include <string.h>
@@ -82,7 +82,7 @@ int main(int argc, char *argv[])
bool servermode = false;
data_store_t *ds = data_store();
- const char* accepted = "u:s:p:n:hlmv";
+ const char* accepted = "u:s:p:n:hlm";
while((opt = getopt(argc, argv, accepted)) != -1)
{
switch(opt)
@@ -106,10 +106,6 @@ int main(int argc, char *argv[])
case 'm':
print_manual();
break;
- case 'v':
- print_version();
- exit(EXIT_SUCCESS);
- break;
case 'h': // help
default:
print_usage();