Closed agoscinski closed 4 months ago
This is a regression introduced by #6338 which made it possible to specify multiple root nodes using the -N
option. Specifying the node positionally was deprecated and had to be made optional, so the help string is correct. It is generated automatically by click
by the way.
The problem here is the handling of the case where no root node is specified neither positionally nor with -N
.
Describe the bug / Steps to reproduce / Expected behavior
Compare to
Error: Missing argument 'COMPUTER'.
Again comparing it with other commands, I interpret
[ROOT_NODE]
as optional, but it is not, it is theOUTPUT_FILE
which is optional. Alsoverdi node graph generate -N 1 output.pdf
does not work but one has to doverdi node graph generate -N 1 -O output.pdf
Your environment