- multiple fixes in the Tcl commands (especially regarding the interchange between True/false and 1/0 values)
- updated the help for all Tcl Commands - in Tcl Shell, the 'help' command will add also a brief description for each command in the list
This commit is contained in:
@@ -14,6 +14,9 @@ class TclCommandGetNames(TclCommand):
|
||||
# List of all command aliases, to be able use old names for backward compatibility (add_poly, add_polygon)
|
||||
aliases = ['get_names']
|
||||
|
||||
description = '%s %s' % ("--", "Return to TCL the list of the project objects names "
|
||||
"as a string with names separated by the '\\n' char.")
|
||||
|
||||
# Dictionary of types from Tcl command, needs to be ordered
|
||||
arg_names = collections.OrderedDict([
|
||||
|
||||
@@ -29,7 +32,8 @@ class TclCommandGetNames(TclCommand):
|
||||
|
||||
# structured help for current command, args needs to be ordered
|
||||
help = {
|
||||
'main': 'Lists the names of objects in the project. It returns a string with names separated by \n',
|
||||
'main': 'Lists the names of objects in the project. '
|
||||
'It returns a string with names separated by "\\n" character',
|
||||
'args': collections.OrderedDict([
|
||||
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user