From 5d9e5fbcb30f4ef5a2370d6cc887bdd2186fe07c Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Sat, 5 Oct 2013 15:54:14 +0200 Subject: Remove unused debug option --- tagstats/tagstats.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'tagstats') diff --git a/tagstats/tagstats.cpp b/tagstats/tagstats.cpp index 6f63c1b..2dcbfb9 100644 --- a/tagstats/tagstats.cpp +++ b/tagstats/tagstats.cpp @@ -57,8 +57,7 @@ void print_help() { << "This program is part of Taginfo. It calculates statistics\n" \ << "on OSM tags from OSMFILE and puts them into DATABASE (an SQLite database).\n" \ << "\nOptions:\n" \ - << " -H, --help This help message\n" \ - << " -d, --debug Enable debugging output\n"; + << " -H, --help This help message\n"; #ifdef TAGSTATS_COUNT_TAG_COMBINATIONS std::cout << " -T, --tags=FILENAME File with tags we are interested in\n"; #endif // TAGSTATS_COUNT_TAG_COMBINATIONS @@ -74,7 +73,6 @@ void print_help() { int main(int argc, char *argv[]) { static struct option long_options[] = { - {"debug", no_argument, 0, 'd'}, {"help", no_argument, 0, 'H'}, #ifdef TAGSTATS_COUNT_TAG_COMBINATIONS {"tags", required_argument, 0, 'T'}, @@ -89,8 +87,6 @@ int main(int argc, char *argv[]) { {0, 0, 0, 0} }; - bool debug = false; - std::string tags_list; std::string relation_type_list; @@ -115,9 +111,6 @@ int main(int argc, char *argv[]) { } switch (c) { - case 'd': - debug = true; - break; case 'H': print_help(); exit(0); -- cgit v1.2.3