Skip to content

Commit

Permalink
chore: fix version capture and network check
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpbrown committed Sep 28, 2021
1 parent fb857e9 commit 17de532
Show file tree
Hide file tree
Showing 7 changed files with 70,514 additions and 179 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "safe-network-hammer"
version = "0.0.2"
version = "0.0.3"
authors = ["davidpbrown"]

[[bin]]
Expand Down
Binary file modified hammer
Binary file not shown.
Binary file modified hammer.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions sha256sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
bcaa367d4b363e347dcf2bbb828084e48f2a0948d7d944f22760975bfca33015 ./hammer/hammer
f4e83d1daf46ee8aa5f0440016a73ec26ed73ebab4d45768f484877f6f57a934 ./hammer/hammer.exe
c3620f1784ecf445ced3f26b00d7e5d2942df846e3976b1a9faa8ba163b1569f ./hammer
369a1a48678d7f8a5af03e094d34252a084254b3c7ec46e9c42aac33ca893922 ./hammer.exe
4 changes: 2 additions & 2 deletions src/cli_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use std::env;
use std::process;

static PROGRAM: &'static str = "SAFE Network - hammer";
static VERSION: &'static str = "0.0.2";
static VERSION: &'static str = "0.0.3";

/// Returns a Vec\<String\> of arguements that were not options.
///
Expand All @@ -35,7 +35,7 @@ pub fn get_args() -> Vec<String> {
let args: Vec<String> = env::args().collect();

let mut opts = Options::new();
opts.optflag("h", "help", "display this help and exit");
opts.optflag("h", "help", "display help and exit");
opts.optflag("V", "version", "output version information and exit");

let matches = match opts.parse(&args[1..]) {
Expand Down
70,561 changes: 70,448 additions & 113 deletions src/galleries.rs

Large diffs are not rendered by default.

122 changes: 61 additions & 61 deletions src/main.rs

Large diffs are not rendered by default.

0 comments on commit 17de532

Please sign in to comment.