Skip to content

Commit

Permalink
dataprep: Bump to latest syntax: about() -> help()
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Oct 20, 2023
1 parent c38b5ff commit 68f76af
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tools/dataprep/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,50 +15,50 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.author("Andre Kohn. <kohn.a@outlook.com>")
.subcommand(
App::new("uni")
.about("Generates parquet files for the university schema")
.help("Generates parquet files for the university schema")
.arg(
Arg::new("out")
.short('o')
.takes_value(true)
.required(true)
.about("Directory where the parquet files are written"),
.help("Directory where the parquet files are written"),
),
)
.subcommand(
App::new("merge-benchmarks")
.about("Merges benchmark reports")
.help("Merges benchmark reports")
.arg(
Arg::new("reports")
.short('r')
.long("reports")
.takes_value(true)
.required(true)
.about("Report directory"),
.help("Report directory"),
),
)
.subcommand(
App::new("tpch")
.about("Generates arrow & parquet files from the TPCH TBL files")
.help("Generates arrow & parquet files from the TPCH TBL files")
.arg(
Arg::new("in")
.long("in")
.takes_value(true)
.required(true)
.about("Directory with generated tbl files"),
.help("Directory with generated tbl files"),
)
.arg(
Arg::new("out-arrow")
.long("out-arrow")
.takes_value(true)
.required(true)
.about("Directory where the arrow files are written"),
.help("Directory where the arrow files are written"),
)
.arg(
Arg::new("out-parquet")
.long("out-parquet")
.takes_value(true)
.required(true)
.about("Directory where the parquet files are written"),
.help("Directory where the parquet files are written"),
),
)
.get_matches();
Expand Down

0 comments on commit 68f76af

Please sign in to comment.