mridgers / clink

Bash's powerful command line editing in cmd.exe
mridgers.github.io/clink
GNU General Public License v3.0
3.15k stars 286 forks source link

Can't use help function #553

Open stiltet opened 3 years ago

stiltet commented 3 years ago

When running the command "clink autorun –-help" I only get this error:

"ERROR: Invalid arguments. Run 'clink autorun --help' for info."

image

Expected results: That the help function should work as the command prompt tells me it should.

chrisant996 commented 3 years ago

None of the inputs are --help. It looks like the clink autorun --help is being copy/pasted from maybe an email program that is converting hyphens in endash or emdash characters, or maybe a software keyboard is being used that converts minus signs into endash or emdash characters. Notice how the two dashes in the input line are visibly different widths -- that's because the first one is not a minus sign and was not typed in manually, it was copy/pasted from somewhere. Also the û-help in the error message is another telltale indicator of that.

Everything is functioning correctly here. Either type in the command manually, or turn off the smart formatting in whatever program the text is being copy/pasted from.

arusak commented 2 years ago

Even the official site gets it wrong. Our technology is unfriendly to double hyphens :-)

Ircama commented 2 years ago

This looks working https://github.com/chrisant996/clink

chrisant996 commented 2 years ago

Even the official site gets it wrong. Our technology is unfriendly to double hyphens :-)

This repo was abandoned years ago. The owner has disappeared and there is no way to update anything about the site.

As mentioned in many posts and issues here, the chrisant996 fork is active and is the new official site.