Skip to content

Commit

Permalink
Update docs with --no-header option
Browse files Browse the repository at this point in the history
  • Loading branch information
triarius committed Sep 22, 2024
1 parent 5f682a8 commit da4e8b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Options:
-i, --in-file <IN_FILE> The file to log stdin to [env: IN_FILE=]
-o, --out-file <OUT_FILE> The file to log stdout to [env: OUT_FILE=]
-e, --err-file <ERR_FILE> The file to log stderr to [env: ERR_FILE=]
--no-header Whether to write a header to the log file(s) [env: NO_HEADER=]
-h, --help Print help
-V, --version Print version
```
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ struct Args {
#[arg(short, long, env)]
err_file: Option<PathBuf>,

/// Whether to write a header to the log file(s).
#[arg(long, env)]
no_header: bool,

Expand Down

0 comments on commit da4e8b2

Please sign in to comment.