Skip to content

Commit

Permalink
Clap fixes (#3528)
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold authored Jan 13, 2023
1 parent 84e0cc1 commit 5a7ec46
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion parquet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ chrono = { version = "0.4.23", default-features = false, features = ["alloc"] }
num = { version = "0.4", default-features = false }
num-bigint = { version = "0.4", default-features = false }
base64 = { version = "0.21", default-features = false, features = ["std", ], optional = true }
clap = { version = "4", default-features = false, features = ["std", "derive", "env", "help", "error-context", "usage"], optional = true }
clap = { version = "4.1", default-features = false, features = ["std", "derive", "env", "help", "error-context", "usage"], optional = true }
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
serde_json = { version = "1.0", default-features = false, features = ["std"], optional = true }
seq-macro = { version = "0.3", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion parquet/src/bin/parquet-fromcsv-help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ Options:
display usage help

-V, --version
Print version information
Print version
2 changes: 1 addition & 1 deletion parquet/src/bin/parquet-fromcsv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ mod tests {
Ok(_) => panic!("unexpected success"),
Err(e) => assert_eq!(
format!("{}", e),
"error: Invalid value 'zip' for '--parquet-compression <PARQUET_COMPRESSION>': Unknown compression ZIP : possible values UNCOMPRESSED, SNAPPY, GZIP, LZO, BROTLI, LZ4, ZSTD \n\nFor more information try --help\n"),
"error: invalid value 'zip' for '--parquet-compression <PARQUET_COMPRESSION>': Unknown compression ZIP : possible values UNCOMPRESSED, SNAPPY, GZIP, LZO, BROTLI, LZ4, ZSTD \n\nFor more information try --help\n"),
}
}

Expand Down

0 comments on commit 5a7ec46

Please sign in to comment.