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

grename: fail to echo error message at validate arguments #111

Open
tranmt09 opened this issue Nov 19, 2024 · 0 comments
Open

grename: fail to echo error message at validate arguments #111

tranmt09 opened this issue Nov 19, 2024 · 0 comments

Comments

@tranmt09
Copy link

The error occurs when it tries to display the error message.

❯ grename test-rename
status: Unknown option '-u'

~/.config/fish/functions/grename.fish (line 1): 
in command substitution
        called on line 4 of file ~/.config/fish/functions/grename.fish
in function 'grename' with arguments 'test-rename'

(Type 'help status' for related documentation)

Suggestion to change the argument of status command to current-command

 echo "Usage: "(status current-command)" old_branch new_branch"
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

1 participant