Ignore option -n (sr #110191)
This commit is contained in:
parent
eec9c5b5c9
commit
533efb2e8a
@ -1,6 +1,10 @@
|
|||||||
ChangeLog for davfs2
|
ChangeLog for davfs2
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
2020-02-07 Werner Baumann (werner.baumann@onlinehome.de)
|
||||||
|
* mount_davfs.c, parse_commandline:
|
||||||
|
Ignore option -n (sr #110191).
|
||||||
|
|
||||||
2019-12-08 Werner Baumann (werner.baumann@onlinehome.de)
|
2019-12-08 Werner Baumann (werner.baumann@onlinehome.de)
|
||||||
* umount_davfs.c:
|
* umount_davfs.c:
|
||||||
Adjust message.
|
Adjust message.
|
||||||
|
@ -847,8 +847,9 @@ parse_commandline(dav_args *args, int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
strcpy(p, argv[argc - 1]);
|
strcpy(p, argv[argc - 1]);
|
||||||
|
|
||||||
char *short_options = "vwVho:";
|
char *short_options = "nvwVho:";
|
||||||
static const struct option options[] = {
|
static const struct option options[] = {
|
||||||
|
{"no-mtab", no_argument, NULL, 'n'},
|
||||||
{"version", no_argument, NULL, 'V'},
|
{"version", no_argument, NULL, 'V'},
|
||||||
{"help", no_argument, NULL, 'h'},
|
{"help", no_argument, NULL, 'h'},
|
||||||
{"option", required_argument, NULL, 'o'},
|
{"option", required_argument, NULL, 'o'},
|
||||||
@ -872,6 +873,7 @@ parse_commandline(dav_args *args, int argc, char *argv[])
|
|||||||
case 'o':
|
case 'o':
|
||||||
get_options(args, optarg);
|
get_options(args, optarg);
|
||||||
break;
|
break;
|
||||||
|
case 'n':
|
||||||
case 'v':
|
case 'v':
|
||||||
case 'w':
|
case 'w':
|
||||||
case '?':
|
case '?':
|
||||||
|
Loading…
Reference in New Issue
Block a user