Skip to content

Commit

Permalink
doveadm-import: Update manpage
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse committed Sep 29, 2016
1 parent b35ac65 commit 042c55b
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions doc/man/doveadm-import.1.in
Expand Up @@ -6,12 +6,16 @@ doveadm\-import \- Import messages matching given search query
.SH SYNOPSIS
.BR doveadm " [" \-Dv "] " import " [" \-S
.IR socket_path ]
.RB [ \-U
.IR source_user ]
.RB [ \-s ]
.I source_location dest_parent search_query
.br
.\"-------------------------------------
.BR doveadm " [" \-Dv "] " import " [" \-S
.IR socket_path ]
.RB [ \-U
.IR source_user ]
.RB [ \-s ]
.BI \-A " source_location dest_parent search_query"
.br
Expand All @@ -24,6 +28,8 @@ doveadm\-import \- Import messages matching given search query
.\"-------------------------------------
.BR doveadm " [" \-Dv "] " import " [" \-S
.IR socket_path ]
.RB [ \-U
.IR source_user ]
.RB [ \-s ]
.BI \-u " user source_location dest_parent search_query"
.\"------------------------------------------------------------------------
Expand All @@ -37,7 +43,9 @@ mailbox, or to root level if
.I dest_parent
is empty (\(dq\(dq). The
.I search_query
can be used to restrict which mailboxes or messages are imported.
can be used to restrict which mailboxes or messages are imported. By default
the import is done in destination user's context, you can use \-U to change
this.

In the first form,
.BR doveadm (1)
Expand Down Expand Up @@ -76,6 +84,11 @@ and all new mailboxes under it will be subscribed to.
.\"-------------------------------------
@INCLUDE:option-u-user@
.\"------------------------------------------------------------------------
.TP
.B \-U username
When the
.B \-U
option is present, the source box is opened with given username.
.SH ARGUMENTS
.TP
.I dest_parent
Expand Down Expand Up @@ -126,4 +139,4 @@ backup mdbox\(aqs INBOX to jane\(aqs INBOX:
.BR doveadm (1),
.BR doveadm\-fetch (1),
.BR doveadm\-search (1),
.BR doveadm\-search\-query (7)
.BR doveadm\-search\-query (7)

0 comments on commit 042c55b

Please sign in to comment.