diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-06-13 23:16:40 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-06-14 13:53:02 +0200 |
| commit | c81e2a5f56eb262663f292578c683fba7f18251f (patch) | |
| tree | 6c045a8dcbec5e75e01a15f970ef8cee6ff042d0 /src/main.rs | |
| parent | 891af17260a6750a74a102388a05e59cf1ffc3c1 (diff) | |
Many fixes
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs index a22d956d..2f31d135 100644 --- a/src/main.rs +++ b/src/main.rs @@ -52,7 +52,7 @@ SUBCOMMANDS: --fonts List all discovered system fonts "; -/// Highlight a .typ file into a HTML file. +/// Highlight a .typ file into an HTML file. struct HighlightCommand { input: PathBuf, output: PathBuf, @@ -72,7 +72,7 @@ OPTIONS: -h, --help Print this help "; -/// List discovered fonts. +/// List discovered system fonts. struct FontsCommand { variants: bool, } @@ -142,7 +142,7 @@ fn parse_args() -> StrResult<Command> { } /// Parse two freestanding path arguments, with the output path being optional. -/// If it is omitted, it is determined from the input path's filename with the +/// If it is omitted, it is determined from the input path's file stem plus the /// given extension. fn parse_input_output(args: &mut Arguments, ext: &str) -> StrResult<(PathBuf, PathBuf)> { let input: PathBuf = args.free_from_str().map_err(|_| "missing input file")?; @@ -229,7 +229,7 @@ fn typeset(command: TypesetCommand) -> StrResult<()> { Ok(()) } -/// Print diagnostics messages to the terminal. +/// Print diagnostic messages to the terminal. fn print_diagnostics( sources: &SourceStore, errors: Vec<Error>, |
