Skip to content

Commit

Permalink
Add directory argument to mdbook test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattico committed Aug 1, 2018
1 parent feb38b4 commit 3cdc69d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cmd/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3cdc69d

Please sign in to comment.