From da4e8b2c788b0b0b85b5c7b383389dde751b774e Mon Sep 17 00:00:00 2001 From: Narthana Epa Date: Sun, 22 Sep 2024 18:27:50 +1000 Subject: [PATCH] Update docs with --no-header option --- README.md | 1 + src/main.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 9fee8de..e74a4db 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ Options: -i, --in-file The file to log stdin to [env: IN_FILE=] -o, --out-file The file to log stdout to [env: OUT_FILE=] -e, --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 ``` diff --git a/src/main.rs b/src/main.rs index fa36389..2734113 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,6 +18,7 @@ struct Args { #[arg(short, long, env)] err_file: Option, + /// Whether to write a header to the log file(s). #[arg(long, env)] no_header: bool,