summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-03-19 00:44:49 +0000
committerMiles Bader <miles@gnu.org>1996-03-19 00:44:49 +0000
commit45bc25a5fa8f68f909d403ee71dc8eefb8dce9c6 (patch)
treeef3ddc6e4b424a5dfec344204aeab12ad6fdadbe /utils
parente0eac095683f82e7fe38bf945853822d5c521328 (diff)
(main): Pass new arg to argp_parse.
Diffstat (limited to 'utils')
-rw-r--r--utils/fsysopts.c2
-rw-r--r--utils/hurdids.c2
-rw-r--r--utils/login.c2
-rw-r--r--utils/ps.c2
-rw-r--r--utils/showtrans.c4
-rw-r--r--utils/storeinfo.c4
-rw-r--r--utils/w.c2
7 files changed, 9 insertions, 9 deletions
diff --git a/utils/fsysopts.c b/utils/fsysopts.c
index 56321ab4..45f586cd 100644
--- a/utils/fsysopts.c
+++ b/utils/fsysopts.c
@@ -83,7 +83,7 @@ main(int argc, char *argv[])
struct argp argp = {options, parse_opt, args_doc, doc};
- argp_parse (&argp, argc, argv, ARGP_IN_ORDER, 0);
+ argp_parse (&argp, argc, argv, ARGP_IN_ORDER, 0, 0);
node = file_name_lookup (node_name, (deref ? 0 : O_NOLINK), 0666);
if (node == MACH_PORT_NULL)
diff --git a/utils/hurdids.c b/utils/hurdids.c
index b2d8cb2c..c6e377a5 100644
--- a/utils/hurdids.c
+++ b/utils/hurdids.c
@@ -70,7 +70,7 @@ main(int argc, char *argv[])
struct argp argp = {options, parse_opt, args_doc, doc};
- argp_parse (&argp, argc, argv, 0, 0);
+ argp_parse (&argp, argc, argv, 0, 0, 0);
if (! show_eff && ! show_avail)
show_eff = show_avail = 1;
diff --git a/utils/login.c b/utils/login.c
index 41eb9ffa..7f93e6fe 100644
--- a/utils/login.c
+++ b/utils/login.c
@@ -617,7 +617,7 @@ main(int argc, char *argv[])
err = argz_create (environ, &parent_env, &parent_env_len);
/* Parse our options. */
- argp_parse (&argp, argc, argv, ARGP_IN_ORDER, 0);
+ argp_parse (&argp, argc, argv, ARGP_IN_ORDER, 0, 0);
/* Now that we've parsed the command line, put together all these
environments we've gotten from various places. There are two targets:
diff --git a/utils/ps.c b/utils/ps.c
index 68f61cbf..819f7e9e 100644
--- a/utils/ps.c
+++ b/utils/ps.c
@@ -548,7 +548,7 @@ main(int argc, char *argv[])
error(1, err, "proc_stat_list_create");
/* Parse our command line. This shouldn't ever return an error. */
- argp_parse (&argp, argc, argv, 0, 0);
+ argp_parse (&argp, argc, argv, 0, 0, 0);
if (only_uids->num == 0 && (filter_mask & FILTER_OWNER))
/* Restrict the output to only our own processes. */
diff --git a/utils/showtrans.c b/utils/showtrans.c
index 18d7593d..fb8c365f 100644
--- a/utils/showtrans.c
+++ b/utils/showtrans.c
@@ -1,6 +1,6 @@
/* Show files' passive translators.
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -129,7 +129,7 @@ main (int argc, char *argv[])
struct argp argp = {options, parse_opt, args_doc, doc};
- argp_parse (&argp, argc, argv, 0, 0);
+ argp_parse (&argp, argc, argv, 0, 0, 0);
exit (status);
}
diff --git a/utils/storeinfo.c b/utils/storeinfo.c
index a7f9b3a4..1f32d0f5 100644
--- a/utils/storeinfo.c
+++ b/utils/storeinfo.c
@@ -1,6 +1,6 @@
/* Show where a file exists
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -220,7 +220,7 @@ main(int argc, char *argv[])
}
struct argp argp = {options, parse_opt, args_doc, doc};
- argp_parse (&argp, argc, argv, 0, 0);
+ argp_parse (&argp, argc, argv, 0, 0, 0);
exit(0);
}
diff --git a/utils/w.c b/utils/w.c
index 39a67784..27376506 100644
--- a/utils/w.c
+++ b/utils/w.c
@@ -401,7 +401,7 @@ main(int argc, char *argv[])
context->user_hooks = &ps_hooks;
/* Parse our options. */
- argp_parse (&argp, argc, argv, 0, 0);
+ argp_parse (&argp, argc, argv, 0, 0, 0);
read_utmp_procs (procs, _PATH_UTMP);