Package: scli
Version: 0.4.0-1
When scli run with optional parameter "community string" it print error
message
Versions from etch and lenny run correctly.
man scli:
SYNOPSIS
scli [options] [hostname] [community]
scli 10.10.10.10 public
100 scli version 0.4.0 (c) 2001-2010 Juergen Schoenwaelder
401 wrong number of arguments: should be `open <nodename> [<community>]'
scli > open 10.10.10.10 public
401 wrong number of arguments: should be `open <nodename> [<community>]'
source file cmds.c:
scli_cmd_open(scli_interp_t *interp, int argc, char **argv)
{
...skip...
#if 0
if (argc < 2 || argc > 4) {
return SCLI_SYNTAX_NUMARGS;
}
host = argv[1];
if (argc == 3) {
community = argv[2];
}
...skip...
#else
if (argc != 2) {
return SCLI_SYNTAX_NUMARGS;
}
code = scli_open_community(interp, argv[1]);
#endif
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org