Page MenuHome GnuPG

Add a command mode to the option parser
Closed, ResolvedPublic

Description

This new flag shall allow to run GnuPG and other tools, which are making use of gpgrt's option parser, in the way Git and some other tools popularized; i.e.:

gpg export --armor foo

should do the same as

gpg --export --armor foo

The idea is that the parser checks any argument which does not look like an option against its list of options marked as commands. If no command has yet been seen and the argument matches a command, use this as command option. The position of the other options should not matter.

Revisions and Commits

Related Objects