Skip to content

Commit c4c92e2

Browse files
committed
Remove long-deprecated --history option on getid
1 parent 3061166 commit c4c92e2

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

man/osmium-getid.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ This command will not work with negative IDs.
6969
(default: 'node'). It is also allowed to just use the first character
7070
of the type here.
7171

72-
\--history
73-
: Deprecated. Use **\--with-history/-H** instead.
74-
7572
-H, \--with-history
7673
: Make this program work on history files. This is only needed when using
7774
the **-r** option.

src/command_getid.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ bool CommandGetId::setup(const std::vector<std::string>& arguments) {
5959
("default-type", po::value<std::string>()->default_value("node"), "Default item type")
6060
("id-file,i", po::value<std::vector<std::string>>(), "Read OSM IDs from text file")
6161
("id-osm-file,I", po::value<std::vector<std::string>>(), "Read OSM IDs from OSM file")
62-
("history", "Deprecated, use --with-history instead")
6362
("with-history,H", "Make it work with history files")
6463
("add-referenced,r", "Recursively add referenced objects")
6564
("remove-tags,t", "Remove tags from objects not explicitly requested")
@@ -108,11 +107,6 @@ bool CommandGetId::setup(const std::vector<std::string>& arguments) {
108107
m_work_with_history = true;
109108
}
110109

111-
if (vm.count("history")) {
112-
warning("The --history option is deprecated. Use --with-history instead.\n");
113-
m_work_with_history = true;
114-
}
115-
116110
if (vm.count("default-type")) {
117111
m_default_item_type = parse_item_type(vm["default-type"].as<std::string>());
118112
}

0 commit comments

Comments
 (0)