Euphoria Ticket #335: eui accepts (on two help lines), -version, --v, -v, --version

It should only be -v and --version

Details

Type: Bug Report Severity: Textual Category: Interpreter
Assigned To: jimcbrown Status: Fixed Reported Release: 3944
Fixed in SVN #: 3992 View VCS: 3992 Milestone: 4.0.0RC2

1. Comment by jimcbrown Nov 09, 2010

--v is not necessary and can be removed, but -v and --version are required by the GNU standard.

Meanwhile, we have -version apparently for backwards compatibility.

2. Comment by jeremy Nov 09, 2010

I think eui is brand new, we never had that particular command name before, it was ex and exw before. So, we've already broken backward compatibility. The problem is we've released RC1. I don't think this will have wide spread compatibility issues so I think we should remove v and -version.

3. Comment by mattlewis Nov 09, 2010

Yeah, let's kick -version to the curb.

4. Comment by jimcbrown Nov 09, 2010

-version has been removed.

5. Comment by jeremy Nov 09, 2010

Do any of our other utils suffer from the same problem? or from -version? We should update them all to be -v, version.

This may conflict if any uses -v for verbose, which I seem to recall something doing that getlost

6. Comment by DerekParnell Nov 09, 2010

I'm pretty sure that this was an accident, probably caused by the original author getting the options to cmdline.e wrong.

Do a grep for `"version"` followed by `"v"` on the same line of text.

Search



Quick Links

User menu

Not signed in.

Misc Menu