[Reportbug-maint] Bug#741369: --bugnumber option does not work, but -N does

Sandro Tosi morph at debian.org
Fri May 23 19:44:09 UTC 2014


Hello Ron, thanks for your report.

On Tue, Mar 11, 2014 at 7:48 PM, Ron Murray <rjmx at rjmx.net> wrote:
>> ron at tinkerbell:~$ reportbug --bugnumber=739581
>> Unrecognized token: no-ldap
>> Usage: reportbug [options] <package | filename>
>>
>> reportbug: error: --bugnumber option does not take a value
>
>    ... but the short, "-N" option works:
>
>> ron at tinkerbell:~$ reportbug -N 739581

the difference might seem tricky but it's important: you use
"--bugnumber=739581" and then "-N 739581" which misses the = sign. for
how arguments parsing works, the --bugnumber option must not receive
the value of the bug report but the bug number must be passed as an
argument to the command, such as:

reportbug --bugnumber 739581

I'm going to update the manpage to mark it explicitly (even if it's
still not displayed as --bugreport=NNN in the manpage).

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



More information about the Reportbug-maint mailing list