summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-03-05 00:29:08 +0000
committerMiles Bader <miles@gnu.org>1996-03-05 00:29:08 +0000
commit874cb3f2262732de38f84fadfba8ae5afa6c29ca (patch)
treedcdf34a3457d0f1b1036144955a3d3fa4aee948d
parent94ff3d7d251ebdae970d5594a527e97d61136c6f (diff)
Parse run-time options
-rw-r--r--libnetfs/set-options.c10
1 files changed, 8 insertions, 2 deletions
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. */