We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e234bd + aac16d0 commit 4d20f52Copy full SHA for 4d20f52
1 file changed
src/options.cpp
@@ -345,6 +345,13 @@ static osmium::Box parse_bbox(char const *bbox)
345
346
options_t::options_t(int argc, char *argv[]) : options_t()
347
{
348
+ // If there are no command line arguments at all, show help.
349
+ if (argc == 1) {
350
+ long_usage_bool = true;
351
+ long_usage(argv[0], false);
352
+ return;
353
+ }
354
+
355
bool help_verbose = false; // Will be set when -v/--verbose is set
356
357
int c;
0 commit comments