Skip to content

Commit

Permalink
update arg description
Browse files Browse the repository at this point in the history
  • Loading branch information
jimexist committed Feb 2, 2022
1 parent de64bd7 commit 6fe43f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
10 changes: 5 additions & 5 deletions integration-testing/src/bin/arrow-json-integration-test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ enum Mode {
#[derive(Debug, Parser)]
#[clap(author, version, about("rust arrow-json-integration-test"), long_about = None)]
struct Args {
#[clap(long, help("The path to the JSON file to read."))]
#[clap(short, long, help("integration"))]
integration: String,
#[clap(long, help("path to ARROW file"))]
#[clap(short, long, help("path to ARROW file"))]
arrow: String,
#[clap(long, help("path to JSON file"))]
#[clap(short, long, help("path to JSON file"))]
json: String,
#[clap(arg_enum, long, default_value_t = Mode::Validate, help="mode of integration testing tool")]
#[clap(arg_enum, short, long, default_value_t = Mode::Validate, help="mode of integration testing tool")]
mode: Mode,
#[clap(long, help("mode of integration testing tool"))]
#[clap(short, long)]
verbose: bool,
}

Expand Down
6 changes: 1 addition & 5 deletions parquet/src/bin/parquet-schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ use std::{fs::File, path::Path};
#[derive(Debug, Parser)]
#[clap(author, version, about("Binary file to print the schema and metadata of a Parquet file"), long_about = None)]
struct Args {
#[clap(
short,
long,
help("List of Parquet files to read from separated by space")
)]
#[clap(short, long)]
file_path: String,
#[clap(short, long, help("Enable printing full file metadata"))]
verbose: bool,
Expand Down

0 comments on commit 6fe43f0

Please sign in to comment.