Skip to content

Commit

Permalink
Merge pull request #54 from sitkevij/issue/53-clippy-lint
Browse files Browse the repository at this point in the history
Issue/53 clippy lint
  • Loading branch information
sitkevij authored Feb 19, 2021
2 parents 5097454 + 812545e commit b1708bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $ hx tests/files/alphanumeric.txt
bytes: 68
```

`hx` also accepts stdin as input.
[hx](https://github.com/sitkevij/hex) also accepts stdin as input.

```sh
cat "tests/files/alphanumeric.txt" | hx
Expand Down Expand Up @@ -177,6 +177,11 @@ let a: [UInt8] = [

`hx` will honor the NO_COLOR environment variable. If set, no color will be output to the terminal.

Rust `no_color` crate:

* <https://crates.io/crates/no_color>
* <https://github.com/sitkevij/no_color>

## manual

```txt
Expand Down Expand Up @@ -204,7 +209,3 @@ OPTIONS:
ARGS:
<INPUTFILE> Pass file path as an argument for hex dump
```

## license

[MIT](LICENSE)
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ fn main() {
_ => false,
};
if !suppress_error {
eprintln!("{} {}", "error:", err);
eprintln!("error: {}", err);
process::exit(1);
}
}
Expand Down

0 comments on commit b1708bc

Please sign in to comment.