diff options
| author | Mario Kilies <MarioKilies@GMX.net> | 2011-01-29 21:06:11 +0100 |
|---|---|---|
| committer | Mario Kilies <MarioKilies@GMX.net> | 2011-01-29 21:06:11 +0100 |
| commit | 1cab398f39a84ece69117a14837aac3b7da90b35 (patch) | |
| tree | d225449b95334a06f2432b7e4454bde6abb30d9f | |
| parent | be494949657db11f363eb8487884ea78eea878b2 (diff) | |
Removed -v version number parameter.
| -rw-r--r-- | src/main.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -81,7 +81,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) @@ -105,10 +105,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(argv[0]); |
