File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,30 @@ let build =
166166 let term =
167167 let + builder = Common.Builder. term
168168 and + targets = Arg. (value & pos_all dep [] name_)
169- and + aliases_rec = Arg. (value & opt_all Dep. alias_rec_arg [] & info [ " alias-rec" ])
170- and + aliases = Arg. (value & opt_all Dep. alias_arg [] & info [ " alias" ]) in
169+ and + aliases_rec =
170+ Arg. (
171+ value
172+ & opt_all Dep. alias_rec_arg []
173+ & info
174+ [ " alias-rec" ]
175+ ~docv: " ALIAS"
176+ ~doc:
177+ " Build the alias $(docv) in its parent directory and all subdirectories. \
178+ Equivalent to the build target $(b,@)$(docv). Example: $(b,--alias-rec \
179+ dir/foo) builds the $(b,foo) alias in $(b,dir/) and all its \
180+ subdirectories. Repeatable." )
181+ and + aliases =
182+ Arg. (
183+ value
184+ & opt_all Dep. alias_arg []
185+ & info
186+ [ " alias" ]
187+ ~docv: " ALIAS"
188+ ~doc:
189+ " Build $(docv) in its parent directory only. Equivalent to the build \
190+ target $(b,@@)$(docv). Example: $(b,--alias dir/foo) builds the $(b,foo) \
191+ alias in $(b,dir/) only. Repeatable." )
192+ in
171193 let targets = List. concat [ targets; aliases; aliases_rec ] in
172194 let targets =
173195 match targets with
You can’t perform that action at this time.
0 commit comments