diff options
author | Matt Ickstadt <mattico8@gmail.com> | 2018-08-01 17:59:40 -0500 |
---|---|---|
committer | Matt Ickstadt <mattico8@gmail.com> | 2018-08-01 17:59:40 -0500 |
commit | b3665c287dd49e973434d650ebd39708f4fd5469 (patch) | |
tree | a5c5bfa60375ad3620bb4232182ef2d7773b67d1 | |
parent | 436c084b9e34a10f2856550fc16faa09fe5494df (diff) |
Add directory argument to `mdbook test`
-rw-r--r-- | src/cmd/test.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd/test.rs b/src/cmd/test.rs index 60db7ab7..8409590a 100644 --- a/src/cmd/test.rs +++ b/src/cmd/test.rs @@ -7,7 +7,10 @@ use mdbook::MDBook; pub fn make_subcommand<'a, 'b>() -> App<'a, 'b> { SubCommand::with_name("test") .about("Test that code samples compile") - .arg_from_usage("-L, --library-path [DIR]... 'directory to add to crate search path'") + .arg_from_usage("-L, --library-path [DIR]... 'directories to add to crate search path'") + .arg_from_usage( + "[dir] 'A directory for your book{n}(Defaults to Current Directory when omitted)'", + ) } // test command implementation |