Skip to content

Commit 1897faf

Browse files
committed
Document that IDs now have prefixes; #14
1 parent 166a8be commit 1897faf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ The `newdoc` tool generates pre-populated module and assembly files formatted wi
9797
9898
* To generate the file without the example, placeholder content, add the `--no-examples` or `-E` option when creating documents.
9999
100-
* To create the file without the file-name prefix, add the `--no-prefixes` or `-P` option.
100+
* To create the file without the module type prefix in the ID and the file name, add the `--no-prefixes` or `-P` option.
101101
102102
* To specify the directory where `newdoc` saves the generated file, add the `--target-dir=<directory>` or `-T <directory>` option.
103103

src/cmd_line.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub fn get_args() -> ArgMatches<'static> {
8989
Arg::with_name("no-prefixes")
9090
.short("P")
9191
.long("no-prefixes")
92-
.help("Do not use module type prefixes (such as `proc_`) in file names"),
92+
.help("Do not use module type prefixes (such as `proc_`) in IDs and file names"),
9393
)
9494
.arg(
9595
Arg::with_name("target-dir")

0 commit comments

Comments
 (0)