From 874cb3f2262732de38f84fadfba8ae5afa6c29ca Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 5 Mar 1996 00:29:08 +0000 Subject: Parse run-time options --- libnetfs/set-options.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libnetfs') diff --git a/libnetfs/set-options.c b/libnetfs/set-options.c index 161786da..4cebd5bd 100644 --- a/libnetfs/set-options.c +++ b/libnetfs/set-options.c @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include "priv.h" +#include "netfs.h" static const struct argp_option std_runtime_options[] = @@ -26,10 +26,16 @@ std_runtime_options[] = {0, 0} }; +static error_t +parse_runtime_opt (int key, char *arg, struct argp_state *state) +{ + return EINVAL; +} + error_t netfs_set_options (int argc, char **argv) { - const struct argp argp = { std_runtime_options, parse_opt, 0, 0, 0 }; + const struct argp argp = { std_runtime_options, parse_runtime_opt, 0, 0, 0 }; /* Call the user option parsing routine, giving it our set of options to do with as it pleases. */ -- cgit v1.2.3