index : bitwarden-ssh-agent.git

ascending towards madness

author holly sparkles <sparkles@holly.sh> 2023-08-04 10:41:56.0 +00:00:00
committer holly sparkles <sparkles@holly.sh> 2023-08-04 10:41:56.0 +00:00:00
commit
6b78ebe10f31a1330064dc94c2cb7fa9273acd15 [patch]
tree
8936b0e0deca672cc6b578726d2001cdc7b3dc6b
parent
30a388f7946bf12148d2be956e69034013dcf78e
download
6b78ebe10f31a1330064dc94c2cb7fa9273acd15.tar.gz

chore: update version docstrings



Diff

 src/main.rs | 2 ++
 src/util.rs | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs
index dc93488..90e2946 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -49,6 +49,8 @@ fn main() -> Result<()> {
    let args: util::Cli = util::Cli::parse_args_default_or_exit();

	env::set_var(BW_SSH_DEBUG_ENV_KEY, OsString::from(args.debug.to_string()));

	// Print the version information and exit if the --version flag was passed.
	if args.version {
		println!("{}", &util::get_version_string()?);
		return Ok(());
diff --git a/src/util.rs b/src/util.rs
index a9c551d..857abf5 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -17,7 +17,7 @@ pub struct Cli {
	pub passphrase: String,
	#[options(help = "session to use to log in to bitwarden-cli")]
	pub session: String,
	#[options(help = "print version and exit")]
	#[options(help = "print version information and exit")]
    pub version: bool,
}