summaryrefslogtreecommitdiff
path: root/tagstats
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-10-05 15:54:14 +0200
committerJochen Topf <jochen@topf.org>2013-10-05 15:54:14 +0200
commit5d9e5fbcb30f4ef5a2370d6cc887bdd2186fe07c (patch)
treeec93339879c626b0592936d1484b13102e9ae598 /tagstats
parent8b05155d4d43bfba4452093f71e4bdc0c3e7b083 (diff)
downloadtaginfo-5d9e5fbcb30f4ef5a2370d6cc887bdd2186fe07c.tar
taginfo-5d9e5fbcb30f4ef5a2370d6cc887bdd2186fe07c.tar.gz
Remove unused debug option
Diffstat (limited to 'tagstats')
-rw-r--r--tagstats/tagstats.cpp9
1 files changed, 1 insertions, 8 deletions
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);