diff options
author | Piotr Wach <pwach@bloomberg.net> | 2023-12-26 23:50:50 +0100 |
---|---|---|
committer | Piotr Wach <pwach@bloomberg.net> | 2023-12-27 00:04:56 +0100 |
commit | 4482e1de9808a8d662b93b3af907b90000e9f1ae (patch) | |
tree | 26c3012f8b14e87094b966d4eed5cd41ab5d13bb /src/options.rs | |
parent | c9738265c40598f0a79befc8dd7be0d47a9f8179 (diff) |
Option to enable debug logs
Diffstat (limited to 'src/options.rs')
-rw-r--r-- | src/options.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/options.rs b/src/options.rs index 13705b3..60e0875 100644 --- a/src/options.rs +++ b/src/options.rs @@ -79,6 +79,10 @@ pub struct Args { /// One or more input files or directories. If unset, we will use all entries in the current working directory. #[clap(value_parser)] pub input: Vec<PathBuf>, + + /// If set, dua will log debug information to a file. + #[clap(long)] + pub log_file: Option<PathBuf>, } #[derive(Debug, clap::Subcommand)] |