From c9aa5000d70b9d2bae7903074c8f10b75815e01d Mon Sep 17 00:00:00 2001 From: David Shaw Date: Sat, 14 Feb 2004 05:03:45 +0000 Subject: * 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. --- g10/export.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'g10/export.c') 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? */ }; -- cgit