Skip to content

Commit

Permalink
allow directroy-only + depth, fix lsd-rs#747
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Jun 25, 2023
1 parent 0e3f97b commit c1e21ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Avoid using Clap's deprecated structs and functions [sudame](https://github.com/sudame)
- Icon theme with overrides from config [sudame](https://github.com/sudame)
- Incorrect colorizing with `--size=bytes` [bells307](https://github.com/bells307)
- Allow `--directory-only` together with `--depth` from [nim65s](https://github.com/nim65s)

### Changed
- Color theme is now expected to be in `$XDG/lsd/colors.yaml` by default from [peppidesu](https://github.com/peppidesu)
Expand Down
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub struct Cli {
pub depth: Option<usize>,

/// Display directories themselves, and not their contents (recursively when used with --tree)
#[arg(short, long, conflicts_with_all = ["depth", "recursive"])]
#[arg(short, long, conflicts_with = "recursive")]
pub directory_only: bool,

/// How to display permissions [default: rwx]
Expand Down

0 comments on commit c1e21ef

Please sign in to comment.