Skip to content

Commit cf80e45

Browse files
Unify --help description of arguments.
1 parent 495d72e commit cf80e45

1 file changed

Lines changed: 20 additions & 19 deletions

File tree

include/osm2ttl/config/Constants.h

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ const static inline std::string SECTION_OPENMP =
4242

4343
const static inline std::string HELP_OPTION_SHORT = "h";
4444
const static inline std::string HELP_OPTION_LONG = "help";
45-
const static inline std::string HELP_OPTION_HELP = "Display help information, use multiple times to display more.";
45+
const static inline std::string HELP_OPTION_HELP =
46+
"Display help information, use multiple times to display more";
4647

4748
const static inline std::string CACHE_INFO = "Cache:";
4849
const static inline std::string CACHE_OPTION_SHORT = "t";
@@ -74,7 +75,7 @@ const static inline std::string STORE_LOCATIONS_ON_DISK_SHORT = "";
7475
const static inline std::string STORE_LOCATIONS_ON_DISK_LONG =
7576
"store-locations-on-disk";
7677
const static inline std::string STORE_LOCATIONS_ON_DISK_HELP =
77-
"Store locations on disk - slower but reduced ram usage.";
78+
"Store locations on disk - slower but reduced ram usage";
7879

7980
const static inline std::string NO_FACTS_INFO = "Not dumping facts";
8081
const static inline std::string NO_FACTS_OPTION_SHORT = "";
@@ -154,77 +155,77 @@ const static inline std::string ADD_AREA_ENVELOPE_OPTION_SHORT = "";
154155
const static inline std::string ADD_AREA_ENVELOPE_OPTION_LONG =
155156
"add-area-envelope";
156157
const static inline std::string ADD_AREA_ENVELOPE_OPTION_HELP =
157-
"Add envelope to areas.";
158+
"Add envelope to areas";
158159

159160
const static inline std::string ADD_AREA_ENVELOPE_RATIO_INFO =
160161
"Adding area/envelope ratios";
161162
const static inline std::string ADD_AREA_ENVELOPE_RATIO_OPTION_SHORT = "";
162163
const static inline std::string ADD_AREA_ENVELOPE_RATIO_OPTION_LONG =
163164
"add-area-envelope-ratio";
164165
const static inline std::string ADD_AREA_ENVELOPE_RATIO_OPTION_HELP =
165-
"Add area/envelope ratio to areas.";
166+
"Add area/envelope ratio to areas";
166167

167168
const static inline std::string ADD_WAY_ENVELOPE_INFO = "Adding way envelopes";
168169
const static inline std::string ADD_WAY_ENVELOPE_OPTION_SHORT = "";
169170
const static inline std::string ADD_WAY_ENVELOPE_OPTION_LONG =
170171
"add-way-envelope";
171172
const static inline std::string ADD_WAY_ENVELOPE_OPTION_HELP =
172-
"Add envelope to ways.";
173+
"Add envelope to ways";
173174

174175
const static inline std::string ADD_WAY_METADATA_INFO = "Adding way metadata";
175176
const static inline std::string ADD_WAY_METADATA_OPTION_SHORT = "";
176177
const static inline std::string ADD_WAY_METADATA_OPTION_LONG =
177178
"add-way-metadata";
178179
const static inline std::string ADD_WAY_METADATA_OPTION_HELP =
179-
"Add information about the way structure.";
180+
"Add information about the way structure";
180181

181182
const static inline std::string ADD_WAY_NODE_ORDER_INFO =
182183
"Adding way node order";
183184
const static inline std::string ADD_WAY_NODE_ORDER_OPTION_SHORT = "";
184185
const static inline std::string ADD_WAY_NODE_ORDER_OPTION_LONG =
185186
"add-way-node-order";
186187
const static inline std::string ADD_WAY_NODE_ORDER_OPTION_HELP =
187-
"Add information about the node members in ways.";
188+
"Add information about the node members in ways";
188189

189190
const static inline std::string ADD_INVERSE_RELATION_DIRECTION_INFO =
190191
"Adding ogc:contained_by and ogc:intersected_by";
191192
const static inline std::string ADD_INVERSE_RELATION_DIRECTION_SHORT = "";
192193
const static inline std::string ADD_INVERSE_RELATION_DIRECTION_LONG =
193194
"add-inverse-relation-direction";
194195
const static inline std::string ADD_INVERSE_RELATION_DIRECTION_HELP =
195-
"Store locations on disk - slower but reduced ram usage.";
196+
"Store locations on disk - slower but reduced ram usage";
196197

197198
const static inline std::string ADMIN_RELATIONS_ONLY_INFO =
198199
"Only handling nodes and relations with \"admin-level\" tag";
199200
const static inline std::string ADMIN_RELATIONS_ONLY_OPTION_SHORT = "";
200201
const static inline std::string ADMIN_RELATIONS_ONLY_OPTION_LONG =
201202
"admin-relations-only";
202203
const static inline std::string ADMIN_RELATIONS_ONLY_OPTION_HELP =
203-
"Only handle nodes and relations with \"admin-level\" tag.";
204+
"Only handle nodes and relations with \"admin-level\" tag";
204205

205206
const static inline std::string MINIMAL_AREA_ENVELOPE_RATIO_INFO =
206207
"Minimal area/envelope ratio: ";
207208
const static inline std::string MINIMAL_AREA_ENVELOPE_RATIO_OPTION_SHORT = "";
208209
const static inline std::string MINIMAL_AREA_ENVELOPE_RATIO_OPTION_LONG =
209210
"minimal-area-envelope-ratio";
210211
const static inline std::string MINIMAL_AREA_ENVELOPE_RATIO_OPTION_HELP =
211-
"Minimal ratio of area to envelope to include a named area in the DAG."
212-
" Value <=0 includes every area.";
212+
"Minimal ratio of area to envelope to include a named area in the DAG;"
213+
" Value <=0 includes every area";
213214

214215
const static inline std::string SIMPLIFY_GEOMETRIES_INFO =
215216
"Simplifying relationship geometries with factor: ";
216217
const static inline std::string SIMPLIFY_GEOMETRIES_OPTION_SHORT = "";
217218
const static inline std::string SIMPLIFY_GEOMETRIES_OPTION_LONG =
218219
"simplify-geometries";
219220
const static inline std::string SIMPLIFY_GEOMETRIES_OPTION_HELP =
220-
"Factor for geometry simplifaction, 0 to disable. This only affects "
221-
"relationship calculations and not the geometry dump.";
221+
"Factor for geometry simplifaction, 0 to disable; This only affects "
222+
"relationship calculations and not the geometry dump";
222223

223224
const static inline std::string SIMPLIFY_WKT_INFO = "Simplifying WKT";
224225
const static inline std::string SIMPLIFY_WKT_OPTION_SHORT = "s";
225226
const static inline std::string SIMPLIFY_WKT_OPTION_LONG = "simplify-wkt";
226227
const static inline std::string SIMPLIFY_WKT_OPTION_HELP =
227-
"Simplify WKT-Geometries over this number of nodes, 0 to disable.";
228+
"Simplify WKT-Geometries over this number of nodes, 0 to disable";
228229

229230
const static inline std::string SIMPLIFY_WKT_DEVIATION_INFO =
230231
"Simplifying wkt geometries with factor: ";
@@ -233,14 +234,14 @@ const static inline std::string SIMPLIFY_WKT_DEVIATION_OPTION_LONG =
233234
"simplify-wkt-deviation";
234235
const static inline std::string SIMPLIFY_WKT_DEVIATION_OPTION_HELP =
235236
"Same effect as simplify-geometries but for the simplification of dumped "
236-
"geometries.";
237+
"geometries";
237238

238239
const static inline std::string SKIP_WIKI_LINKS_INFO =
239240
"Not adding wikipedia and wikidata links.";
240241
const static inline std::string SKIP_WIKI_LINKS_OPTION_SHORT = "";
241242
const static inline std::string SKIP_WIKI_LINKS_OPTION_LONG = "skip-wiki-links";
242243
const static inline std::string SKIP_WIKI_LINKS_OPTION_HELP =
243-
"Do not add wikipedia and wikidata links.";
244+
"Do not add wikipedia and wikidata links";
244245

245246
const static inline std::string SEMICOLON_TAG_KEYS_INFO =
246247
"Tag-Keys split by semicolon: ";
@@ -253,22 +254,22 @@ const static inline std::string OSM2TTL_PREFIX_INFO = "Prefix for osm2ttl-iris";
253254
const static inline std::string OSM2TTL_PREFIX_OPTION_SHORT = "";
254255
const static inline std::string OSM2TTL_PREFIX_OPTION_LONG = "oms2ttl-prefix";
255256
const static inline std::string OSM2TTL_PREFIX_OPTION_HELP =
256-
"Prefix for own IRIs.";
257+
"Prefix for own IRIs";
257258

258259
const static inline std::string WKT_PRECISION_INFO =
259260
"Dumping WKT with precision: ";
260261
const static inline std::string WKT_PRECISION_OPTION_SHORT = "";
261262
const static inline std::string WKT_PRECISION_OPTION_LONG = "wkt-precision";
262263
const static inline std::string WKT_PRECISION_OPTION_HELP =
263-
"Precision (number of decimal digits) for WKT coordinates.";
264+
"Precision (number of decimal digits) for WKT coordinates";
264265

265266
const static inline std::string WRITE_DAG_DOT_FILES_INFO =
266267
"Storing DAG states as .dot files";
267268
const static inline std::string WRITE_DAG_DOT_FILES_OPTION_SHORT = "";
268269
const static inline std::string WRITE_DAG_DOT_FILES_OPTION_LONG =
269270
"write-dag-dot-files";
270271
const static inline std::string WRITE_DAG_DOT_FILES_OPTION_HELP =
271-
"Writes .dot files for DAG states.";
272+
"Writes .dot files for DAG states";
272273

273274
const static inline std::string WRITE_GEOM_RELATION_STATISTICS_INFO =
274275
"Storing statistics about geometry calculations - SLOW!";

0 commit comments

Comments
 (0)