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

Error Message #2

Open
worldpe opened this issue Aug 15, 2021 · 1 comment
Open

Error Message #2

worldpe opened this issue Aug 15, 2021 · 1 comment

Comments

@worldpe
Copy link

worldpe commented Aug 15, 2021

I am really sorry if this is an issue on my end, but when I try to use the pj command, I get the error message:
`pj Templates
error: Found argument '-m' which wasn't expected, or isn't valid in this context

USAGE:
fd [FLAGS/OPTIONS] [] [...]

For more information try --help
No such project: Templates`

I wouldn't expect this program to use fd instead of find, however I am not sure where the -m argument is. Is that something in the pj program?

@scorphus
Copy link
Member

Hey! 👋

I'd say that the -m part of the error message regards to -maxdepth argument for find:

set -l target (find $PROJECT_PATHS -maxdepth 1 -name $argv[1] | head -n 1)

Could you please share what OS you're experiencing this on? Also, what output do you get for which find?

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

No branches or pull requests

2 participants