| Ticket UUID: | 3608952 | |||
| Title: | TEPAM: Help text incorrect for procedures in namespaces | |||
| Type: | Bug | Version: | None | |
| Submitter: | droll | Created on: | 2013-03-24 13:41:56 | |
| Subsystem: | tepam | Assigned To: | droll | |
| Priority: | 3 Low | Severity: | ||
| Status: | Closed | Last Modified: | 2013-03-26 05:26:37 | |
| Resolution: | Fixed | Closed By: | droll | |
| Closed on: | 2013-03-25 22:14:18 | |||
| Description: |
The help text for a procedure that is part of a namespace is incorrectly generated. Example:
namespace eval ::ns {
tepam::procedure MyProc {
-short_description "Help generation demonstration"
-description "Command to demonstrate the help text generation"
-args {
{Param -type integer -default 0 -description "Optional command argument"} }
} {
puts "MyProc called"
}
}
ns::MyProc -help
| NAME
| ns::ns::MyProc
| SYNOPSIS
The namespace is duplicated in the procedure name and all the detailed procedure information (descriptions, arguments, etc.) are not displayed. The expected help text is:
| NAME
| ns::MyProc - Help generation demonstration
| SYNOPSIS
| ns::MyProc
| [<Param>]
| Optional command argument, type: integer, default: 0
| DESCRIPTION
| Command to demonstrate the help text generation
This bug affects only the help text generation. It is not affecting the behavior of the procedure call.
A fix for the TEPAM package is available, and once the TEPAM author has write/commit access to the new TclLib repository (Fossil) the fix will be commited.
| |||
| User Comments: |
andreas_kupries added on 2013-03-26 05:26:37:
Commit: https://core.tcl.tk/tcllib/info/e040e29b2b droll added on 2013-03-26 05:14:18: allow_comments - 1 This has been fixed in TEPAM 0.4.1 that has been commited on March, 25th, 2013. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki