diff --git a/CHANGELOG.md b/CHANGELOG.md index 2554575..4ad039f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # pq Changelog +## 0.0.15 - UNRELEASED + +* Adds --version parameter (#29, @eitsupi) + ## 0.0.14 - 2022-11-09 * Changes backend argument to be an enum. diff --git a/src/main.rs b/src/main.rs index 8d08362..cd63fea 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,6 +30,11 @@ type SourcesType = Vec<(String, String)>; /// pq: query and transform data with PRQL #[derive(Parser, Debug)] +#[clap( + name = env!("CARGO_PKG_NAME"), + version = env!("CARGO_PKG_VERSION"), + about = env!("CARGO_PKG_DESCRIPTION") +)] struct Cli { /// The file(s) to read data FROM if given #[clap(short, long, value_parser, env = "PQ_FROM")]