Skip to content

Commit 28de862

Browse files
sirainencmouse
authored andcommitted
data/doveadm.js: Update fs commands' parameters
1 parent 0a49c13 commit 28de862

File tree

1 file changed

+19
-59
lines changed

1 file changed

+19
-59
lines changed

data/doveadm.js

Lines changed: 19 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -763,15 +763,10 @@ Applicable to [[link,mdbox]] and [[link,sdbox]] mailbox formats only.
763763

764764
'fs copy': {
765765
args: {
766-
'fs-driver': {
766+
'filter-name': {
767767
positional: true,
768768
type: doveadm_arg_types.STRING,
769-
text: `Filesystem driver to use.`
770-
},
771-
'fs-args': {
772-
positional: true,
773-
type: doveadm_arg_types.STRING,
774-
text: `Filesystem driver arguments to use.`
769+
text: `Configuration filter name to use.`
775770
},
776771
'source-path': {
777772
type: doveadm_arg_types.STRING,
@@ -793,20 +788,15 @@ Applicable to [[link,mdbox]] and [[link,sdbox]] mailbox formats only.
793788
type: doveadm_arg_types.BOOL,
794789
text: `Do recursive delete of path.`
795790
},
796-
maxParallel: {
791+
'max-parallel': {
797792
cli: 'n',
798793
type: doveadm_arg_types.INTEGER,
799794
text: `Max number of parallel workers.`,
800795
},
801-
'fs-driver': {
802-
positional: true,
803-
type: doveadm_arg_types.STRING,
804-
text: `Filesystem driver to use.`
805-
},
806-
'fs-args': {
796+
'filter-name': {
807797
positional: true,
808798
type: doveadm_arg_types.STRING,
809-
text: `Filesystem driver arguments to use.`
799+
text: `Configuration filter name to use.`
810800
},
811801
path: {
812802
positional: true,
@@ -820,15 +810,10 @@ Applicable to [[link,mdbox]] and [[link,sdbox]] mailbox formats only.
820810

821811
'fs get': {
822812
args: {
823-
'fs-driver': {
813+
'filter-name': {
824814
positional: true,
825815
type: doveadm_arg_types.STRING,
826-
text: `Filesystem driver to use.`
827-
},
828-
'fs-args': {
829-
positional: true,
830-
type: doveadm_arg_types.STRING,
831-
text: `Filesystem driver arguments to use.`
816+
text: `Configuration filter name to use.`
832817
},
833818
path: {
834819
positional: true,
@@ -842,23 +827,18 @@ Applicable to [[link,mdbox]] and [[link,sdbox]] mailbox formats only.
842827

843828
'fs iter': {
844829
args: {
845-
noCache: {
830+
'no-cache': {
846831
cli: 'C',
847832
type: doveadm_arg_types.BOOL
848833
},
849-
objectIds: {
834+
'object-ids': {
850835
cli: 'O',
851836
type: doveadm_arg_types.BOOL
852837
},
853-
'fs-driver': {
854-
positional: true,
855-
type: doveadm_arg_types.STRING,
856-
text: `Filesystem driver to use.`
857-
},
858-
'fs-args': {
838+
'filter-name': {
859839
positional: true,
860840
type: doveadm_arg_types.STRING,
861-
text: `Filesystem driver arguments to use.`
841+
text: `Configuration filter name to use.`
862842
},
863843
path: {
864844
positional: true,
@@ -872,15 +852,10 @@ Applicable to [[link,mdbox]] and [[link,sdbox]] mailbox formats only.
872852

873853
'fs iter-dirs': {
874854
args: {
875-
'fs-driver': {
855+
'filter-name': {
876856
positional: true,
877857
type: doveadm_arg_types.STRING,
878-
text: `Filesystem driver to use.`
879-
},
880-
'fs-args': {
881-
positional: true,
882-
type: doveadm_arg_types.STRING,
883-
text: `Filesystem driver arguments to use.`
858+
text: `Configuration filter name to use.`
884859
},
885860
path: {
886861
positional: true,
@@ -894,15 +869,10 @@ Applicable to [[link,mdbox]] and [[link,sdbox]] mailbox formats only.
894869

895870
'fs metadata': {
896871
args: {
897-
'fs-driver': {
898-
positional: true,
899-
type: doveadm_arg_types.STRING,
900-
text: `Filesystem driver to use.`
901-
},
902-
'fs-args': {
872+
'filter-name': {
903873
positional: true,
904874
type: doveadm_arg_types.STRING,
905-
text: `Filesystem driver arguments to use.`
875+
text: `Configuration filter name to use.`
906876
},
907877
path: {
908878
positional: true,
@@ -923,15 +893,10 @@ Applicable to [[link,mdbox]] and [[link,sdbox]] mailbox formats only.
923893
cli: 'm',
924894
type: doveadm_arg_types.ARRAY
925895
},
926-
'fs-driver': {
896+
'filter-name': {
927897
positional: true,
928898
type: doveadm_arg_types.STRING,
929-
text: `Filesystem driver to use.`
930-
},
931-
'fs-args': {
932-
positional: true,
933-
type: doveadm_arg_types.STRING,
934-
text: `Filesystem driver arguments to use.`
899+
text: `Configuration filter name to use.`
935900
},
936901
'input-path': {
937902
positional: true,
@@ -950,15 +915,10 @@ Applicable to [[link,mdbox]] and [[link,sdbox]] mailbox formats only.
950915

951916
'fs stat': {
952917
args: {
953-
'fs-driver': {
954-
positional: true,
955-
type: doveadm_arg_types.STRING,
956-
text: `Filesystem driver to use.`
957-
},
958-
'fs-args': {
918+
'filter-name': {
959919
positional: true,
960920
type: doveadm_arg_types.STRING,
961-
text: `Filesystem driver arguments to use.`
921+
text: `Configuration filter name to use.`
962922
},
963923
path: {
964924
positional: true,

0 commit comments

Comments
 (0)