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

Requesting swap of --full-path and --absolute-path #1442

Open
Baerbeisser opened this issue Dec 5, 2023 · 2 comments
Open

Requesting swap of --full-path and --absolute-path #1442

Baerbeisser opened this issue Dec 5, 2023 · 2 comments

Comments

@Baerbeisser
Copy link

I think --full-path is way more intuitive to print the full path while --absolute-path is more intuitive to match absolute (full) paths. I don't know, maybe it's because it's often used in other tools that way?
I just searched the man page for half an hour because of this.

@Baerbeisser Baerbeisser changed the title Requesting swap of '--full-path' and '--absolute-path' Requesting swap of --full-path and --absolute-path Dec 5, 2023
@Baerbeisser Baerbeisser changed the title Requesting swap of --full-path and --absolute-path Requesting swap of --full-path and --absolute-path Dec 5, 2023
@tavianator
Copy link
Collaborator

I think it's way too big of a back-compat issue to swap the meaning of those flags. We could maybe make some new aliases for those flags, something like --match-absolute and --print-absolute

@theicfire
Copy link

cc #839

Having the ability to match relative paths would also be helpful. In fact, I'd say it's very rare to ever want to match an absolute path when in some directory, since that prefix is common to everything you're searching for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants