Skip to content

Commit

Permalink
remove old markdown-help options
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Starke committed Sep 8, 2023
1 parent 53e9f1f commit e5f2157
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dfir-toolkit"
version = "0.7.3"
version = "0.7.4"
edition = "2021"
authors = ["Jan Starke <jan.starke@posteo.de>", "Deborah Mahn <deborah.mahn@dfir-dd.de>"]
description = "CLI tools for digital forensics and incident response"
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ CLI tools for digital forensics and incident response
* `-W`, `--password <PASSWORD>` — password for authenticating at elasticsearch
* `-v`, `--verbose` — More output per occurrence
* `-q`, `--quiet` — Less output per occurrence
* `--markdown-help` — print help in markdown format



Expand Down Expand Up @@ -187,7 +186,6 @@ CLI tools for digital forensics and incident response
* `-S`, `--strict` — fail upon read error
* `-v`, `--verbose` — More output per occurrence
* `-q`, `--quiet` — Less output per occurrence
* `--markdown-help` — print help in markdown format



Expand Down Expand Up @@ -225,7 +223,6 @@ CLI tools for digital forensics and incident response

* `-v`, `--verbose` — More output per occurrence
* `-q`, `--quiet` — Less output per occurrence
* `--markdown-help` — print help in markdown format



Expand Down Expand Up @@ -311,13 +308,14 @@ CLI tools for digital forensics and incident response
* `--max <MAX>` — filter: maximal event record identifier
* `-i`, `--id <ID>` — show only the one event with this record identifier
* `-T`, `--display-table` — don't display the records in a table format
* `-F`, `--format <FORMAT>`
* `-F`, `--format <FORMAT>` — output format

Default value: `xml`

Possible values: `json`, `xml`

* `--markdown-help` — print help in markdown format
* `-v`, `--verbose` — More output per occurrence
* `-q`, `--quiet` — Less output per occurrence



Expand Down Expand Up @@ -386,7 +384,8 @@ CLI tools for digital forensics and incident response
* `-B`, `--hide-base-fields` — don't display any common event fields at all. This corresponds to specifying '--base-fields' without any values (which is not allowed, that's why there is this flag)

Default value: `false`
* `--markdown-help` — print help in markdown format
* `-v`, `--verbose` — More output per occurrence
* `-q`, `--quiet` — Less output per occurrence



Expand Down Expand Up @@ -421,7 +420,8 @@ CLI tools for digital forensics and incident response
* `-N`, `--negative-tolerance <NEGATIVE_TOLERANCE>` — negative tolerance limit (in seconds): time skews to the past below this limit will be ignored

Default value: `5`
* `--markdown-help` — print help in markdown format
* `-v`, `--verbose` — More output per occurrence
* `-q`, `--quiet` — Less output per occurrence



Expand Down Expand Up @@ -456,7 +456,6 @@ scans a registry hive file for deleted entries
* `-v`, `--verbose` — More output per occurrence
* `-q`, `--quiet` — Less output per occurrence
* `-b` — output as bodyfile format
* `--markdown-help` — print help in markdown format



Expand Down Expand Up @@ -499,7 +498,6 @@ CLI tools for digital forensics and incident response
* `-c`, `--colors` — highlight interesting content using colors
* `-v`, `--verbose` — More output per occurrence
* `-q`, `--quiet` — Less output per occurrence
* `--markdown-help` — print help in markdown format



Expand Down Expand Up @@ -536,7 +534,11 @@ CLI tools for digital forensics and incident response
* `-d` — output as CSV instead of TXT. This is a conveniance option, which is identical to `--format=csv` and will be removed in a future release. If you specified `--format` and `-d`, the latter will be ignored
* `-j` — output as JSON instead of TXT. This is a conveniance option, which is identical to `--format=json` and will be removed in a future release. If you specified `--format` and `-j`, the latter will be ignored
* `-f`, `--from-timezone <SRC_ZONE>` — name of offset of source timezone (or 'list' to display all possible values

Default value: `UTC`
* `-t`, `--to-timezone <DST_ZONE>` — name of offset of destination timezone (or 'list' to display all possible values

Default value: `UTC`
* `--strict` — strict mode: do not only warn, but abort if an error occurs
* `-v`, `--verbose` — More output per occurrence
* `-q`, `--quiet` — Less output per occurrence
Expand Down Expand Up @@ -572,7 +574,6 @@ CLI tools for digital forensics and incident response

* `-v`, `--verbose` — More output per occurrence
* `-q`, `--quiet` — Less output per occurrence
* `--markdown-help` — print help in markdown format



Expand Down Expand Up @@ -609,7 +610,6 @@ CLI tools for digital forensics and incident response
* `-T`, `--hide-timestamps` — hide timestamps, if output is in reg format
* `-v`, `--verbose` — More output per occurrence
* `-q`, `--quiet` — Less output per occurrence
* `--markdown-help` — print help in markdown format



Expand Down
4 changes: 0 additions & 4 deletions src/bin/evtx2bodyfile/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ mod evtx_file;
mod macros;

fn main() -> Result<()> {
if std::env::args().any(|a| &a == "--markdown-help") {
clap_markdown::print_help_markdown::<Evtx2BodyfileApp>();
return Ok(());
}
let cli = Evtx2BodyfileApp::parse_cli();

cli.handle_evtx_files()
Expand Down
4 changes: 0 additions & 4 deletions src/bin/evtxanalyze/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ mod pstree;
mod sessions;

fn main() -> anyhow::Result<()> {
if std::env::args().any(|a| &a == "--markdown-help") {
clap_markdown::print_help_markdown::<Cli>();
return Ok(());
}
let cli = Cli::parse_cli();

match &cli.command {
Expand Down
4 changes: 0 additions & 4 deletions src/bin/evtxls/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,6 @@ impl EvtxLs {
}

fn main() -> Result<()> {
if std::env::args().any(|a| &a == "--markdown-help") {
clap_markdown::print_help_markdown::<Cli>();
return Ok(());
}
sigpipe::reset();
EvtxLs::new().run()
}

0 comments on commit e5f2157

Please sign in to comment.