From 987c72f12f41b8108447810fe84fd9f16e6d29d7 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 19 Sep 2007 11:53:35 +0000 Subject: --opts to --options --- init.d/netmount | 2 +- src/fstabinfo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/init.d/netmount b/init.d/netmount index 2b0af2fe..c0f3e9f8 100755 --- a/init.d/netmount +++ b/init.d/netmount @@ -8,7 +8,7 @@ have_nfs() { local IFS=\n x= set -- $(fstabinfo --fstype nfs,nfs4) for x in "$@" ; do - ! fstabinfo --opts "${x}" | grep -q noauto && return 0 + ! fstabinfo --options "${x}" | grep -q noauto && return 0 done return 1 } diff --git a/src/fstabinfo.c b/src/fstabinfo.c index eecaf8a0..922a0c9a 100644 --- a/src/fstabinfo.c +++ b/src/fstabinfo.c @@ -62,7 +62,7 @@ static struct mntent *getmntfile (FILE *fp, const char *file) static struct option longopts[] = { { "fstype", 1, NULL, 'f'}, { "mountcmd", 1, NULL, 'm'}, - { "opts", 1, NULL, 'o'}, + { "options", 1, NULL, 'o'}, { "passno", 1, NULL, 'p'}, longopts_COMMON { NULL, 0, NULL, 0} -- cgit v1.2.3