diff options
author | David Shaw <[email protected]> | 2004-02-14 05:03:45 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-02-14 05:03:45 +0000 |
commit | c9aa5000d70b9d2bae7903074c8f10b75815e01d (patch) | |
tree | fb4110bcd821ed6dad24a5571e351f1a500aa6ea /g10/export.c | |
parent | * import.c (check_prefs): Some language fixes. (sec_to_pub_keyblock, (diff) | |
download | gnupg-c9aa5000d70b9d2bae7903074c8f10b75815e01d.tar.gz gnupg-c9aa5000d70b9d2bae7903074c8f10b75815e01d.zip |
* keyserver.c (argsep): Move to misc.c.
* main.h, misc.c (parse_options), export.c (parse_export_options),
import.c (parse_import_options), g10.c (main): Use it here to allow for
options with optional arguments. Change all callers.
Diffstat (limited to '')
-rw-r--r-- | g10/export.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/g10/export.c b/g10/export.c index c8a2be8ed..069c8e108 100644 --- a/g10/export.c +++ b/g10/export.c @@ -45,11 +45,11 @@ parse_export_options(char *str,unsigned int *options,int noisy) { struct parse_options export_opts[]= { - {"include-non-rfc",EXPORT_INCLUDE_NON_RFC}, - {"include-local-sigs",EXPORT_INCLUDE_LOCAL_SIGS}, - {"include-attributes",EXPORT_INCLUDE_ATTRIBUTES}, - {"include-sensitive-revkeys",EXPORT_INCLUDE_SENSITIVE_REVKEYS}, - {NULL,0} + {"include-non-rfc",EXPORT_INCLUDE_NON_RFC,NULL}, + {"include-local-sigs",EXPORT_INCLUDE_LOCAL_SIGS,NULL}, + {"include-attributes",EXPORT_INCLUDE_ATTRIBUTES,NULL}, + {"include-sensitive-revkeys",EXPORT_INCLUDE_SENSITIVE_REVKEYS,NULL}, + {NULL,0,NULL} /* add tags for include revoked and disabled? */ }; |