aboutsummaryrefslogtreecommitdiffstats
path: root/common/argparse.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-12-08 16:55:36 +0000
committerWerner Koch <[email protected]>2016-12-08 16:56:12 +0000
commit4a04277ad112e0966296133795f93cf6a3daa48e (patch)
tree1c96d085431b97ec0bf0733c41ab665a73092dd2 /common/argparse.c
parentgpgscm: Better error reporting. (diff)
downloadgnupg-4a04277ad112e0966296133795f93cf6a3daa48e.tar.gz
gnupg-4a04277ad112e0966296133795f93cf6a3daa48e.zip
wks: New option --status-fd for gpg-wks-client.
* tools/wks-util.c: Include status.h. (statusfp): New global var. (wks_set_status_fd): New func. (wks_write_status): New func. * tools/gpg-wks-client.c: Include status.h. (oStatusFD): New constant. (opts): New option --status-fd. (parse_arguments): Handle that option. (main): Return STATUS_SUCCESS or STATUS_FAILURE. -- This option is useful in case gpg-wks-client is spawed using a double fork approach which does not allow to return the exit code. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/argparse.c')
0 files changed, 0 insertions, 0 deletions