File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -426,19 +426,16 @@ module Compile_src = struct
426
426
Arg. (required & pos 0 (some file) None & info ~doc ~docv: " FILE" [] )
427
427
in
428
428
let source_parent_file =
429
- let doc =
430
- " .odoc file of the parent of the page containing the source code for \
431
- this compilation unit."
432
- in
429
+ let doc = " The source-tree file parent of the implementation." in
433
430
Arg. (
434
431
required
435
432
& opt (some convert_fpath) None
436
- & info [ " source-parent-file" ] ~doc ~docv: " PARENT.odoc" )
433
+ & info [ " source-parent-file" ] ~doc ~docv: " srctree- PARENT.odoc" )
437
434
in
438
435
let source_path =
439
436
let doc =
440
- " The basename of the source file. This is used to place the source \
441
- file within the source_parent ."
437
+ " The relative path of the source file. This is used to place the \
438
+ source file within the parent source tree ."
442
439
in
443
440
Arg. (
444
441
required
@@ -452,10 +449,8 @@ module Compile_src = struct
452
449
453
450
let info ~docs =
454
451
let doc =
455
- " Compile a source tree into a page. Expect a text file containing the \
456
- relative paths to every source files in the source tree. The paths \
457
- should be the same as the one passed to $(i,odoc compile \
458
- --source-name)."
452
+ " Compile a $(i,NAME.cmt) file to a $(i,src-NAME.odoc) containing the \
453
+ implementation information needed by odoc for the compilation unit."
459
454
in
460
455
Term. info " compile-src" ~docs ~doc
461
456
end
You can’t perform that action at this time.
0 commit comments