Skip to content

Kovri: boost.program_options bool option overhaul

The Kovri Project requested to merge anonimal:config into master

Created by: anonimal

Our boolean options were confusing and redundant. There was no reason to --enable 1 if the argument was true nor a reason to --disable 0 if the argument was also true, etc.

Removes the need to set boolean after enable/disable.

Resolves #883 (closed).


By submitting this pull-request, I confirm the following:

  • I have read and understood the contributor guide in kovri-docs.
  • I have checked that another pull-request for this purpose does not exist.
  • I have considered and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used and that this pull-request may be closed by the will of the maintainer.
  • I give this submission freely under the BSD 3-clause license.

Merge request reports