diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-05-22 15:13:51 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-05-22 15:13:51 +0200 |
| commit | 88553fe3c0459085c8f04e10c7c2ae2501e85b26 (patch) | |
| tree | 5803dde47c91c0ccd2e8fbf82d33e0f13d65de59 /cli/src/args.rs | |
| parent | 8aa0ae197d9f77f77dcf9de46b48a4ef7719d562 (diff) | |
Tidy up CLI
Diffstat (limited to 'cli/src/args.rs')
| -rw-r--r-- | cli/src/args.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/src/args.rs b/cli/src/args.rs index 699dbb97..7eb4f4e2 100644 --- a/cli/src/args.rs +++ b/cli/src/args.rs @@ -18,7 +18,8 @@ pub struct CliArguments { #[command(subcommand)] pub command: Command, - /// Sets the level of verbosity: 0 = none, 1 = warning & error, 2 = info, 3 = debug, 4 = trace + /// Sets the level of logging verbosity: + /// -v = warning & error, -vv = info, -vvv = debug, -vvvv = trace #[clap(short, long, action = ArgAction::Count)] pub verbosity: u8, } @@ -68,8 +69,7 @@ pub struct CompileCommand { #[arg(long = "open")] pub open: Option<Option<String>>, - /// Produces a flamegraph of the compilation process and saves it to the - /// given file or to `flamegraph.svg` in the current working directory. + /// Produces a flamegraph of the compilation process #[arg(long = "flamegraph", value_name = "OUTPUT_SVG")] pub flamegraph: Option<Option<PathBuf>>, } |
