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 |
Jump to:
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.
- Login to post comments
#1
The route command now uses the new syntax mechanism, so this particular problem should be fixed.
#2
Automatically closed -- issue fixed for two weeks with no activity.