Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/regex and new defaults #130

Merged
merged 7 commits into from
Apr 14, 2023
Merged

Conversation

solidiquis
Copy link
Owner

@solidiquis solidiquis commented Apr 14, 2023

Breaking changes warning

This branch introduces a number of changes that mark the beginning of v2.0.0. On top of supporting regular expression search and altering how to leverage glob-based searching, some arguments were renamed or deprecated.

Additions

  • Searching via regular expressions via -p, --pattern. To do glob-based searching use -p, --pattern in conjunction with --glob or --iglob, the latter of which enables case insensitive glob searching.
  • File count now included in output.
  • Disk usage now displays only on the left as a separate column from the tree.
  • Empty match set now displays text rather than a single empty directory.

Deprecated arguments

  • -g, --glob, --iglob, --glob-case-insensitive
  • -c, --count

Renamed arguments

  • -H, --hidden -> -., --hidden
  • -p, --prefix -> -u, --units
  • -S, --follow-links -> -L, --follow
  • -i, --ignore-git-ignore -> -i, --no-ignore
  • --ignore-git -> --no-git

New defaults

  • Disk usage now defaults to displaying physical size rather than logical size by default.

Other changes

  • Help text modified slightly for extra clarity.

@solidiquis solidiquis merged commit a1de2cc into v2.0 Apr 14, 2023
@solidiquis solidiquis mentioned this pull request Apr 14, 2023
@solidiquis solidiquis deleted the feature/regex-and-new-defaults branch June 9, 2023 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant