Skip to content

Commit d7c49c3

Browse files
committed
Remove long-deprecated --remove-deleted/--simplify option
On omsium apply-changes
1 parent 7f68fd6 commit d7c49c3

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

man/osmium-apply-changes.md

-9
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,6 @@ STDOUT.
5555
This allows changing the history! This mode is for special use only, for
5656
instance to remove copyrighted or private data.
5757

58-
-r, \--remove-deleted
59-
: Deprecated. Remove deleted objects from the output. This is now the
60-
default if your input file is a normal OSM data file ('.osm').
61-
62-
-s, \--simplify
63-
: Deprecated. Only write the last version of any object to the output.
64-
This is now the default if your input file is a normal OSM data file
65-
('.osm').
66-
6758

6859
@MAN_COMMON_OPTIONS@
6960
@MAN_PROGRESS_OPTIONS@

src/command_apply_changes.cpp

-12
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ bool CommandApplyChanges::setup(const std::vector<std::string>& arguments) {
5858
po::options_description opts_cmd{"COMMAND OPTIONS"};
5959
opts_cmd.add_options()
6060
("change-file-format", po::value<std::string>(), "Format of the change file(s)")
61-
("simplify,s", "Simplify change (deprecated)")
6261
("redact", "Redact (patch) OSM files")
63-
("remove-deleted,r", "Remove deleted objects from output (deprecated)")
6462
("with-history,H", "Apply changes to history file")
6563
("locations-on-ways", "Expect and update locations on ways")
6664
;
@@ -136,16 +134,6 @@ bool CommandApplyChanges::setup(const std::vector<std::string>& arguments) {
136134
m_output_file.set_has_multiple_object_versions(true);
137135
}
138136

139-
if (vm.count("simplify")) {
140-
warning("-s, --simplify option is deprecated. Please see manual page.\n");
141-
m_with_history = false;
142-
}
143-
144-
if (vm.count("remove-deleted")) {
145-
warning("-r, --remove-deleted option is deprecated. Please see manual page.\n");
146-
m_with_history = false;
147-
}
148-
149137
return true;
150138
}
151139

0 commit comments

Comments
 (0)