Skip to content

Commit 4a2f529

Browse files
committed
unify message style
1 parent 179c174 commit 4a2f529

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/tools/jsondocck/src/config.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ use getopts::Options;
22

33
#[derive(Debug)]
44
pub struct Config {
5-
/// The directory documentation output was generated in
5+
/// The directory documentation output was generated in.
66
pub doc_dir: String,
7-
/// The file documentation was generated for, with docck directives to check
7+
/// The file documentation was generated for, with docck directives to check.
88
pub template: String,
99
}
1010

11-
/// Create a Config from a vector of command-line arguments
11+
/// Create a Config from a vector of command-line arguments.
1212
pub fn parse_config(args: Vec<String>) -> Config {
1313
let mut opts = Options::new();
14-
opts.reqopt("", "doc-dir", "Path to the documentation directory", "PATH")
15-
.reqopt("", "template", "Path to the template file", "PATH")
16-
.optflag("h", "help", "show this message");
14+
opts.reqopt("", "doc-dir", "Path to the documentation directory.", "PATH")
15+
.reqopt("", "template", "Path to the template file.", "PATH")
16+
.optflag("h", "help", "Show this message.");
1717

1818
let (argv0, args_) = args.split_first().unwrap();
1919
if args.len() == 1 {

0 commit comments

Comments
 (0)