[Xorp-cvs] XORP cvs commit: xorp/cli
Pavlin Radoslavov
pavlin@icir.org
Wed, 27 Jul 2005 23:32:53 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2005-07-27 23:32:53 UTC
XORP CVS repository
Modified files:
cli cli_client.cc cli_client.hh cli_command.cc
cli_command.hh
Log message:
Add initial support for wildcard commands.
The support is very basic and currently has very limited applications.
Basically, if a CliCommand node in the CLI command tree is marked
as wildcard, then it will match any token from the command line,
but the executed command itself will include the particular token
itself instead of the global name of that CliCommand node.
Revision Changes Path
1.34 +19 -4; commitid: 7f2042e818e07ea6; xorp/cli/cli_client.cc
1.21 +2 -1; commitid: 7f2042e818e07ea6; xorp/cli/cli_client.hh
1.16 +22 -1; commitid: 7f2042e818e07ea6; xorp/cli/cli_command.cc
1.14 +18 -3; commitid: 7f2042e818e07ea6; xorp/cli/cli_command.hh