--opts to --options
This commit is contained in:
parent
5248fb52fa
commit
987c72f12f
@ -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
|
||||
}
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user