Skip to content

Commit ba4dc17

Browse files
author
chenjunliang
committed
更新文档及版本,重新发布
# 增加Install Run等说明
1 parent 5b9a337 commit ba4dc17

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "mysql-audit-extend"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
edition = "2021"
55
authors = ["seeker"]
66
description = "An extension tool of mysql-audit, which provides functions such as log rotation and log cleaning."
77
license = "MIT"
8-
documentation = "https://docs.rs/crate/mysql-audit-extend/0.2.2"
8+
documentation = "https://docs.rs/crate/mysql-audit-extend/0.2.3"
99
repository = "https://gitee.com/seeker_rs/mysql-audit-extend"
1010

1111
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,41 @@
11
# mysql-audit-extend
22

33
#### 1.Introduce
4+
Notice: `This is a binary application.`
5+
46
The extension of mysql-audit, the mysql audit plugin for mcafee, enhances the plugin function.
57

68
#### 2.Install
79
```shell
810
cargo install mysql-audit-extend
911
```
1012

11-
#### 3.Support platform
13+
#### 3.Run
14+
```shell
15+
# View help
16+
mysql-audit-extend -h
17+
18+
OUTPUT:
19+
USAGE:
20+
mysql-audit-extend [OPTIONS]
21+
22+
OPTIONS:
23+
-f, --max-file <MAX_FILE> Maximum number of files to keep [default: 10]
24+
-h, --help Print help information
25+
-m, --max-size <MAX_SIZE> Maximum file size, Unit: MB [default: 10]
26+
-p, --path <PATH> Absolute path to log file [default:
27+
/var/lib/mysql/mysql-audit.json]
28+
-V, --version Print version information
29+
30+
31+
# Run with default configuration
32+
mysql-audit-extend
33+
34+
# Run with custom configuration
35+
mysql-audit-extend -p /var/lib/mysql/mysql-audit.json -m 100 -f 30
36+
```
37+
38+
#### 4.Support platform
1239
> Currently only supports Linux operating system.
1340
1441
* Linux

0 commit comments

Comments
 (0)