aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgsplit.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-07-19 04:41:18 +0000
committerNIIBE Yutaka <[email protected]>2017-07-19 04:41:18 +0000
commitfa63db89f9581186ed758c502d4e69914b774157 (patch)
tree7c8a7d1c47c74d357c12b5cb9c7a031eaebdc685 /tools/gpgsplit.c
parentcommon: Allow abbreviations of standard options. (diff)
downloadgnupg-fa63db89f9581186ed758c502d4e69914b774157.tar.gz
gnupg-fa63db89f9581186ed758c502d4e69914b774157.zip
Fix usage of ARGPARSE_OPTS.
* agent/gpg-agent.c, agent/preset-passphrase.c, dirmngr/dirmngr-client.c, dirmngr/dirmngr_ldap.c, kbx/kbxutil.c, tools/gpg-check-pattern.c, tools/gpgconf.c, tools/gpgsplit.c, tools/symcryptrun.c: Use ARGPARSE_end. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'tools/gpgsplit.c')
-rw-r--r--tools/gpgsplit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/gpgsplit.c b/tools/gpgsplit.c
index b9787b182..674be6271 100644
--- a/tools/gpgsplit.c
+++ b/tools/gpgsplit.c
@@ -75,7 +75,9 @@ static ARGPARSE_OPTS opts[] = {
{ oUncompress, "uncompress", 0, "uncompress a packet"},
{ oSecretToPublic, "secret-to-public", 0, "convert secret keys to public keys"},
{ oNoSplit, "no-split", 0, "write to stdout and don't actually split"},
-{0} };
+
+ ARGPARSE_end ()
+};
static const char *