Skip to content

Commit 2e160db

Browse files
committed
version 2.0.0
1 parent b8d4f28 commit 2e160db

File tree

8 files changed

+9
-10
lines changed

8 files changed

+9
-10
lines changed

Diff for: CHANGELOG.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
### next
1+
<a name="v2.0.0"></a>
2+
### v2.0.0 - 2023-08-30
23
- `--output` parameter lets you choose between summary tables (default) or the log lines, either raw, as CSV, or as JSON
3-
- `--lines` removed (use `--output raw` or `-o r` instead)
4+
- `--lines` parameter removed (use `--output raw` or `-o r` instead)
45
- more helpful `--help`
56
- more targets for binaries in the official archives, especially ARM 32/64 both gnu and musl
67

Diff for: Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rhit"
3-
version = "1.8.0-dev"
3+
version = "2.0.0"
44
authors = ["dystroy <[email protected]>"]
55
repository = "https://github.com/Canop/rhit"
66
description = "nginx log analyzer"

Diff for: bacon.toml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ command = [
2424
"-A", "clippy::manual_range_contains",
2525
"-A", "clippy::match_like_matches_macro",
2626
"-A", "clippy::manual_clamp",
27+
"-A", "clippy::if_same_then_else",
2728
]
2829
need_stdout = false
2930

Diff for: src/cli/args.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ use {
99
termimad::crossterm::tty::IsTty,
1010
};
1111

12-
/// Rhit gives you a report of the hits found in your nginx logs.
13-
///
14-
/// Complete documentation at https://dystroy.org/rhit
12+
/// Program launch argument
1513
#[derive(Debug, Default, Parser)]
1614
#[command(author, about, name = "rhit", disable_version_flag = true, version, disable_help_flag = true)]
1715
pub struct Args {

Diff for: src/cli/help.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use {
1111
};
1212

1313
static INTRO_TEMPLATE: &str = "
14-
**Rhit** analyses your nginx logs.
14+
**Rhit** analyzes your nginx logs.
1515
1616
Complete documentation at *https://dystroy.org/rhit*
1717

Diff for: src/json.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ impl LineConsumer for JsonPrinter {
2020
) {
2121
if filtered_out { return; }
2222
if self.written > 0 {
23-
print!(",\n");
23+
println!(",");
2424
} else {
2525
println!("[");
2626
}

Diff for: src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
#[macro_use] extern crate cli_log;
32

43
mod cli;

0 commit comments

Comments
 (0)