diff -r 2e3a24b9896a -r 8b88efcbf56f docs/man/dav.1.man --- a/docs/man/dav.1.man Sun Dec 15 16:54:05 2019 +0100 +++ b/docs/man/dav.1.man Sun Dec 15 17:00:46 2019 +0100 @@ -1,13 +1,13 @@ -.\" Automatically generated by Pandoc 1.16.0.2 +.\" Automatically generated by Pandoc 2.2.1 .\" -.TH "DAV" "1" "July 1, 2018" "Version 1.2" "DavUtils User Manuals" +.TH "DAV" "1" "December 15, 2019" "Version 1.3" "DavUtils User Manuals" .hy .SH NAME .PP \f[B]dav\f[] \- command line WebDAV client .SH SYNOPSIS .PP -\f[B]dav\f[] \f[I]command\f[] [\f[I]options\f[]] \f[I]arguments\f[]... +\f[B]dav\f[] \f[I]command\f[] [\f[I]options\f[]] \f[I]arguments\f[]\&... .SH DESCRIPTION .PP TODO @@ -18,7 +18,7 @@ .RS .RE .TP -.B get [\f[B]\-pcRK\f[]] [\f[B]\-o\f[] \f[I]file\f[]] [\f[B]\-u\f[] \f[I]date\f[]] \f[I]url\f[] +.B get [\f[B]\-pcRK\f[]] [\f[B]\-o\f[] \f[I]file\f[]] [\f[B]\-u\f[] \f[I]date\f[]] [\f[B]\-V\f[] \f[I]version\f[]] \f[I]url\f[] Downloads a resource from \f[I]url\f[]. .RS .RE @@ -49,6 +49,12 @@ .RS .RE .TP +.B rename [\f[B]\-pcO\f[]] [\f[B]\-L\f[] \f[I]lock\f[]] \f[I]srcurl\f[] \f[I]name\f[] +Changes the name of a resource or collection at \f[I]srcurl\f[] to +\f[I]name\f[]. +.RS +.RE +.TP .B export [\f[B]\-pc\f[]] [\f[B]\-o\f[] \f[I]file\f[]] [\f[B]\-u\f[] \f[I]date\f[]] \f[I]url\f[] Exports a resource or collection to a \f[B]tar(5)\f[] archive. By default the data is written to \f[I]stdout\f[], but you may specify a @@ -121,6 +127,37 @@ in sync. .RS .RE +.TP +.B versioncontrol [\f[B]\-pc\f[]] \f[I]url\f[] +Puts the resource, specified by url, under version control. +This is required in order to use other versioning commands with this +resource. +.RS +.RE +.TP +.B list\-versions [\f[B]\-pc\f[]] \f[I]url\f[] +Lists all versions of a version\-controlled resource. +.RS +.RE +.TP +.B checkout [\f[B]\-pc\f[]] \f[I]url\f[] +Changes the state of a resource to checked\-out to allow modifications +to the content and properties. +.RS +.RE +.TP +.B checkin [\f[B]\-pc\f[]] \f[I]url\f[] +Changes the state of a resource to checked\-in. +This will create a new version of the resource. +In the checked\-in state the resource cannot be modified. +.RS +.RE +.TP +.B uncheckout [\f[B]\-pc\f[]] \f[I]url\f[] +Cancels all modification of the resource and sets the state to +checked\-in without creating a new version. +.RS +.RE .SH CONFIGURATION COMMANDS .TP .B add\-repository @@ -144,6 +181,31 @@ Validates the \f[B]$HOME/.dav/config.xml\f[] configuration file. .RS .RE +.TP +.B repository\-url [\f[B]\-p\f[]] \f[I]repository\f[] +Prints the repository url. +.RS +.RE +.TP +.B add\-user +Adds a user to the secret store. +.RS +.RE +.TP +.B remove\-user +Removes a user from the secret store. +.RS +.RE +.TP +.B edit\-user +Interactive command for modifying users stored in the secret store. +.RS +.RE +.TP +.B list\-users +Lists all users stored in the secret store. +.RS +.RE .SH GENERAL OPTIONS .PP The following options can be used with all commands. @@ -216,7 +278,7 @@ .TP .B \-o \f[I]file\f[] Write output to \f[I]file\f[]. -Use \[aq]\-\[aq] for stdout. +Use `\-' for stdout. .RS .RE .TP @@ -226,7 +288,7 @@ .RE .TP .B \-p -Don\[aq]t encrypt or decrypt files. +Don't encrypt or decrypt files. .RS .RE .TP @@ -250,6 +312,12 @@ .RS .RE .TP +.B \-V \f[I]version\f[] +downloads a specific version of the resource. +Available versions can be listed with the list\-versions command +.RS +.RE +.TP .B \-x XML property content. .RS