omicron icon indicating copy to clipboard operation
omicron copied to clipboard

Make argument helper more robust

Open derek-gerstmann opened this issue 8 years ago • 1 comments

The libconfig::ArgumentHelper interface is extremely fragile and error prone. It silently ignores and consumes unrecognised command line options. Please just use boost::program_options internally.

derek-gerstmann avatar Apr 07 '16 02:04 derek-gerstmann

I agree that boost::program_options would be better, but ArgumentHelper is exposed to third party apps trhough the oargs() call on orun, so it can't be replaced easily without breaking backward compatibility. My suggestion would be to fix specific issues in ArgumentHelper (source code in inclued in omicron) instead of replacing it.

febret avatar Apr 10 '16 04:04 febret