Skip to content

Commit

Permalink
(Fix #24) Add version number to usage text
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrodger committed Jul 17, 2020
1 parent 7575cac commit 6dbf8c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gctx/src/arguments.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use clap::Clap;
use clap::{crate_version, Clap};

/// gcloud configuration manager
#[derive(Clap)]
#[clap(version = crate_version!())]
pub struct Opts {
/// Switch to this context (shorthand for activate, ignores subsequent arguments)
pub context: Option<String>,
Expand Down

0 comments on commit 6dbf8c5

Please sign in to comment.