Skip to content

Fix #485: Reject invalid args and allow positional args#503

Merged
lhecker merged 4 commits into
microsoft:mainfrom
spinualexandru:reject-invalid-args
Aug 12, 2025
Merged

Fix #485: Reject invalid args and allow positional args#503
lhecker merged 4 commits into
microsoft:mainfrom
spinualexandru:reject-invalid-args

Conversation

@spinualexandru

@spinualexandru spinualexandru commented Jun 20, 2025

Copy link
Copy Markdown
Contributor
  • Added rejections for invalid arguments
  • Added positional arguments so in case you are running "edit -- -?" it will allow you to create a file called "-?"

Closes #485

@lhecker

lhecker commented Aug 12, 2025

Copy link
Copy Markdown
Member

While I think that your PR generally went into the right direction, I've reduced its complexity a bit to address the issue first, by removing the logic to reject invalid arguments.

@lhecker
lhecker requested a review from DHowett August 12, 2025 12:19
@lhecker
lhecker merged commit f17552c into microsoft:main Aug 12, 2025
3 checks passed
Lou32Verbose pushed a commit to Lou32Verbose/edit that referenced this pull request Jan 11, 2026
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.

On Linux edit -? creates a file named -?

3 participants