Skip to content

Commit

Permalink
Release 2.2.0
Browse files Browse the repository at this point in the history
Update documentation and dependencies
  • Loading branch information
9ary committed Sep 13, 2019
1 parent 3258e82 commit abc3c46
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 71 deletions.
151 changes: 82 additions & 69 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "shotgun"
description = "Minimal X screenshot utility"
version = "2.1.0"
version = "2.2.0"
authors = ["Dan Elkouby <streetwalkermc@gmail.com>"]
license = "MPL-2.0"
repository = "https://github.com/neXromancers/shotgun"
Expand All @@ -15,7 +15,7 @@ time = "0.1"

[dependencies.image]
default-features = false
version = "0.21"
version = "0.22"
features = ["png_codec", "pnm"]

[dependencies.x11]
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ Options:
-i, --id ID Window to capture
-g, --geometry WxH+X+Y
Area to capture
-f, --format png/pam
Output format
-h, --help Print help and exit
-v, --version Print version and exit
```

To use with slop (as a replacement for `maim -s`):
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ fn run() -> i32 {
Ok(r) => r,
Err(_) => {
eprintln!("Window ID is not a valid integer");
eprintln!("Accepted values are decimal, hex (0x*), octal (0o*) and binary (0b*)");
return 1;
},
},
Expand Down

0 comments on commit abc3c46

Please sign in to comment.