Skip to content

Commit

Permalink
Merge pull request #14 from triarius/triarius/update-docs
Browse files Browse the repository at this point in the history
Update docs with --no-header option
  • Loading branch information
triarius authored Sep 22, 2024
2 parents 5f682a8 + da4e8b2 commit 5b80a4a
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 5b80a4a

Please sign in to comment.