[Xorp-cvs] XORP cvs commit: xorp/rtrmgr
Pavlin Radoslavov
pavlin at icir.org
Thu Aug 28 11:51:30 PDT 2008
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: pavlin at chum.icir.org 2008-08-28 18:51:30 UTC
XORP CVS repository
Modified files:
rtrmgr cli.cc
Log message:
Set the global names for top-level CLI commands.
Now the xorpsh CLI prints the appropriate error messages:
ERROR: "commit" does not take any additional parameters.
instead of:
ERROR: "" does not take any additional parameters.
Note that we have to do it explicitly for every (top-level only?)
CLI command, which is not the right solution. This setting should
be done in a generic way inside the CLI library (e.g., the
CliCommand::add_command() methods inside file cli/cli_command.cc).
Bug found by: Xiaoshuai Yang <eshe168 AT gmail.com>
Revision Changes Path
1.141 +9 -1; commitid: 265748b6f21241a7; xorp/rtrmgr/cli.cc
More information about the Xorp-cvs
mailing list