B. Clausius | 12 Sep 2012 14:36
Picon
Picon
Gravatar

[Cython] usage does not match the options


Hi,

I found that the options shown by "cython -h" are different to the
options parsed by cython.

Usage: --warning-error
Parser: --warning-errors
The parser does not recognize "-q" and "-quiet"
(Patch attached)

There are other options that are not in the usage:
  -+
  -z, --pre-import
  --convert-range
  --no-c-in-traceback
  --disable-function-redefinition
  --old-style-globals
  --debug
  -h, --help

B.C.

Hi,

I found that the options shown by "cython -h" are different to the
options parsed by cython.
(Continue reading)

Robert Bradshaw | 12 Sep 2012 14:54
Picon

Re: [Cython] usage does not match the options

On Wed, Sep 12, 2012 at 5:36 AM, B. Clausius <barcc@...> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I found that the options shown by "cython -h" are different to the
> options parsed by cython.
>
> Usage: --warning-error
> Parser: --warning-errors
> The parser does not recognize "-q" and "-quiet"
> (Patch attached)

Thanks. Pushed.
https://github.com/cython/cython/commit/eae1ada81dd15528b26f3d802a31f04cdd4a22f6
(Generally we prefer pull requests, but we're not that picky when
people are helping out...)

> There are other options that are not in the usage:
>   -+
>   -z, --pre-import
>   --convert-range
>   --no-c-in-traceback
>   --disable-function-redefinition
>   --old-style-globals
>   --debug
>   -h, --help

Yeah, none of these should be advertised.
(Continue reading)


Gmane