Subject: Re: bug#47953: fennel doesn't print version with -v

From: Jack Hill <[email-masked]>
Date: Thu, 22 Apr 2021 11:55:30 -0400 (EDT)

On Thu, 22 Apr 2021, Jack Hill wrote:

> Hi Guix,
>
> From the fennel man page:
>
>       -v, --version
>              Print the version number and exit
>
> However, only the long options seems to work:
>
> jackhill@alperton ~ [env]$ fennel --version
> Fennel 0.8.1 on Lua 5.3
> jackhill@alperton ~ [env]$ fennel -v
> runtime error: -v: No such file or directory
> stack traceback:
>  [C]: in function 'assert'
>  ...tore/lgaycpzwfair15b4m1lvzjim0gv3l0gp-profile/bin/fennel:3630: in 
> function ?
>  [C]: in function 'xpcall'
>  ...tore/lgaycpzwfair15b4m1lvzjim0gv3l0gp-profile/bin/fennel:4036: in 
> function ?
>  [C]: in ?
>
> Other short options, like -h, do work. This isn't that annoying a problem, 
> but I wonder if it presents some problem with out fennel package.

This is an upstream bug in fennel. It was fixed today, but not released 
yet [0]. It seems like a minor annoyance, so I think it's okay to wait 
until the next release.

[0] https://git.sr.ht/~technomancy/fennel/commit/904e3ee165d097411bab599b9378895695629b70

Best,
Jack