Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
version command returns build time VERSION env or Cargo.toml version (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianfilip authored and senia-psm committed Feb 23, 2024
1 parent b784f5e commit 034cb8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ enum Command {
}

#[derive(Parser, Debug)]
#[command(author, version, about, long_about, rename_all = "kebab-case")]
#[command(author, version=option_env!("VERSION").unwrap_or(env!("CARGO_PKG_VERSION")), about, long_about, rename_all = "kebab-case")]
/// Command line interface for OSS version of Golem.
///
/// For Golem Cloud client see golem-cloud-cli instead: https://github.com/golemcloud/golem-cloud-cli
Expand Down

0 comments on commit 034cb8e

Please sign in to comment.