Added option "comment="

This commit is contained in:
wbaumann 2014-03-09 20:29:05 +00:00
parent 7097f3f583
commit 895527b357
5 changed files with 318 additions and 277 deletions

View File

@ -1,6 +1,10 @@
ChangeLog for davfs2 ChangeLog for davfs2
-------------------- --------------------


2014-03-09 Werner Baumann (werner.baumann@onlinehome.de)
* mount_davfs.c, get_options:
Add option "comment=" (bug #41354)

2013-09-08 Werner Baumann (werner.baumann@onlinehome.de) 2013-09-08 Werner Baumann (werner.baumann@onlinehome.de)
* Updating to fuse kernel version 7.19. * Updating to fuse kernel version 7.19.



File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
.TH @PROGRAM_NAME@ 8 "2012\-03\-18" @PACKAGE_STRING@ .TH @PROGRAM_NAME@ 8 "2014\-03\-09" @PACKAGE_STRING@


.SH NAME .SH NAME


@ -86,6 +86,11 @@ Can (not) be mounted with \fBmount \-a\fR.
.br .br
Default: \fBauto\fR. Default: \fBauto\fR.


.TP
.B comment=\fIsome comment\fP
This option is ignored by \fB@PROGRAM_NAME@\fR but other programs may
require it to be present in fstab.

.TP .TP
.B conf=\fIabsolute path\fP .B conf=\fIabsolute path\fP
An alternative user configuration file. This option is intended for cases An alternative user configuration file. This option is intended for cases

File diff suppressed because it is too large Load Diff

View File

@ -1429,6 +1429,7 @@ get_options(dav_args *args, char *option)
ASYNC, ASYNC,
AUTO, AUTO,
NOAUTO, NOAUTO,
COMMENT,
DEFAULTS, DEFAULTS,
END END
}; };
@ -1455,6 +1456,7 @@ get_options(dav_args *args, char *option)
[ASYNC] = "async", [ASYNC] = "async",
[AUTO] = "auto", [AUTO] = "auto",
[NOAUTO] = "noauto", [NOAUTO] = "noauto",
[COMMENT] = "comment",
[DEFAULTS] = "defaults", [DEFAULTS] = "defaults",
[END] = NULL [END] = NULL
}; };
@ -1561,6 +1563,7 @@ get_options(dav_args *args, char *option)
case ASYNC: case ASYNC:
case AUTO: case AUTO:
case NOAUTO: case NOAUTO:
case COMMENT:
case DEFAULTS: case DEFAULTS:
break; break;
default: default: