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

Handle commandlines starting with - #8

Merged
merged 1 commit into from
Oct 30, 2020
Merged

Handle commandlines starting with - #8

merged 1 commit into from
Oct 30, 2020

Conversation

benjamineskola
Copy link
Contributor

If I type (for example) -s followed by a space at the beginning of the input (in order to use fish’s history search feature), then I get the following error:

string trim: Unknown option '-s '

If -- is added to the string trim command, then the following error occurs instead:

abbr: Mutually exclusive flags 'q/query' and `s/show` seen

Adding -- to both commands works as expected.

@gazorby
Copy link
Owner

gazorby commented Oct 30, 2020

LGTM !

@gazorby gazorby merged commit d6eeb11 into gazorby:master Oct 30, 2020
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.

None yet

2 participants