summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/obnam-benchmark.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bin/obnam-benchmark.rs b/src/bin/obnam-benchmark.rs
index b76a7aa..3c2060e 100644
--- a/src/bin/obnam-benchmark.rs
+++ b/src/bin/obnam-benchmark.rs
@@ -30,12 +30,16 @@ struct Opt {
#[derive(Debug, StructOpt)]
enum Command {
+ /// Run benchmarks
Run(Run),
+
+ /// Dump the specification as JSON
Spec(Spec),
}
#[derive(Debug, StructOpt)]
struct Run {
+ /// Name of the specification file
#[structopt(parse(from_os_str))]
spec: PathBuf,
}
@@ -52,9 +56,11 @@ impl Run {
#[derive(Debug, StructOpt)]
struct Spec {
+ /// Name of the specification file
#[structopt(parse(from_os_str))]
spec: PathBuf,
+ /// Name of JSON file to write
#[structopt(long, parse(from_os_str))]
output: PathBuf,
}