The following procedure, findCmd
, searches through
the syntax of all the Tcl commands in the Vivado Design Suite, and
displays a list of commands that support the specified option:
proc findCmd {option} {
foreach cmd [lsort [info commands *]] {
catch {
if {[regexp "$option" [help -syntax $cmd]]} {
puts $cmd
}
}
}
} ; # End proc
To find the Vivado tools commands that support the -return_string
option use:
findCmd return_string