zlib does not report subcommands on error
Closed / Fixed2573172fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2009-02-06 16:18:08
In any command with subcommands there is a report of the subcommands supported like: % info wrong # args: should be "info subcommand ?arg ...?" % info john unknown or ambiguous subcommand "john": must be args, body, class, cmdcount, commands, complete, coroutine, default, exists, frame, functions, globals, hostname, level, library, loaded, locals, nameofexecutable, object, patchlevel, procs, script, sharedlibextension, tclversion, or vars Well this is what happens with zlib command: % zlib wrong # args: should be "zlib command arg ?...?" % zlib john wrong # args: should be "zlib command arg ?...?" Regards Horacio Rodriguez Montero
dkfplain2009-02-06 23:37:54
it will if you do another argument, but your point is taken... $ make -C unix shell [...] % zlib ? ? bad command "?": must be adler32, compress, crc32, decompress, deflate, gunzip, gzip, inflate, push, or stream
dkfplain2009-02-08 05:50:44
allow_comments - 1 now follows std pattern: % zlib wrong # args: should be "zlib command arg ?...?" % zlib ? bad command "?": must be adler32, compress, crc32, decompress, deflate, gunzip, gzip, inflate, push, or stream
Log in (anonymous is fine) to add a comment.