Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#1125 closed defect (fixed)

geosop -l coredumps

Reported by: strk Owned by: geos-devel@…
Priority: major Milestone: 3.10.0
Component: Default Version: main
Severity: Unassigned Keywords:
Cc:

Description

I was hoping to get a list of supported operations, but got an abort instead:

[strk@c19:/usr/local/src/geos/geos/src/main/build(main)] bin/geosop -l
terminate called after throwing an instance of 'cxxopts::option_not_exists_exception'
  what():  Option ‘l’ does not exist
Aborted (core dumped)

Change History (3)

comment:1 by Sandro Santilli <strk@…>, 15 months ago

Resolution: fixed
Status: newclosed

In 921f88d/git:

Make geosop be nice upon being called with unknown switch

Print an error and exit with failure, rather than aborting.
Closes #1125

comment:2 by strk, 15 months ago

Milestone: 3.9.23.10.0
Version: 3.9.0main

comment:3 by strk, 15 months ago

For the record: --help prints the list of supported ops

Note: See TracTickets for help on using tickets.