Skip to content

On Linux edit -? creates a file named -? #485

Open
@zcobol

Description

@zcobol

Windows:

PS C:\Users\zcobol> edit -?
Error 0x8007007b: The filename, directory name, or volume label syntax is incorrect.
PS C:\Users\zcobol> edit -v
edit version 1.2.0

Linux:

zcobol@texas:~/bin$ ./edit -v
edit version 1.2.0
zcobol@texas:~/bin$ ./edit -?

Editor opens and file can be saved:

zcobol@texas:~/bin$ file ./'-?'
./-?: ASCII text

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-help-wantedWe encourage you to jump in on these!I-bugIt shouldn't be doing this.P-lowLow(er) priority. Example: Bugs in less commonly used features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions