diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index a9c6b36..9e52800 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,6 +17,15 @@ mod version; mod whoami; mod wiki; +pub const USER_AGENT: &str = concat!( + env!("CARGO_PKG_NAME"), + "/", + env!("CARGO_PKG_VERSION"), + " (", + env!("CARGO_PKG_REPOSITORY"), + ")" +); + #[derive(Parser, Debug)] pub struct App { #[clap(long, short = 'H')] |