Skip to content

Commit b5fd170

Browse files
authored
Merge pull request #755 from mattico/test-dir
Add directory argument to `mdbook test`
2 parents 436c084 + b3665c2 commit b5fd170

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/cmd/test.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ use mdbook::MDBook;
77
pub fn make_subcommand<'a, 'b>() -> App<'a, 'b> {
88
SubCommand::with_name("test")
99
.about("Test that code samples compile")
10-
.arg_from_usage("-L, --library-path [DIR]... 'directory to add to crate search path'")
10+
.arg_from_usage("-L, --library-path [DIR]... 'directories to add to crate search path'")
11+
.arg_from_usage(
12+
"[dir] 'A directory for your book{n}(Defaults to Current Directory when omitted)'",
13+
)
1114
}
1215

1316
// test command implementation

0 commit comments

Comments
 (0)