JNode /> route add 10.0.0.0 "pci-eth(0,17,

Project:JNode Core
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

JNode /> route add 10.0.0.0 "pci-eth(0,17,0)"

works fine, but

JNode /> route add 0.0.0.0 -gw 10.0.0.1 "pci-eth(0,17,0)"

doesn't.

The Help.Info.ParsedArguments() method then suppresses the real error message to change it into a generic SyntaxErrorException("No matching syntax found") (which is the error i get). After some debugging i figured the real error is: 'Unexpected "10.0.0.1"'. So somehow the Syntax class doesn't account for optional arguments.

#1

Status:active» fixed

The route command now uses the new syntax mechanism, so this particular problem should be fixed.

#2

Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.