From: jblum Date: Thu, 25 Jun 2009 04:27:04 +0000 (+0000) Subject: added to todo, added help message to optparse option w/ param X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=0dc667ed68b90e0aceca193324f58106077072f8;p=debian%2Fgnuradio added to todo, added help message to optparse option w/ param git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11281 221aa14e-8319-0410-a670-987f0aec2ac5 --- diff --git a/grc/blocks/parameter.xml b/grc/blocks/parameter.xml index d3bab94c..21e5f04b 100644 --- a/grc/blocks/parameter.xml +++ b/grc/blocks/parameter.xml @@ -72,8 +72,7 @@ Or, parameters can pass arguments into an instantiated hierarchical block. The paramater value cannot depend on any variables. -Leave the label blank to use the parameter id as the label. \ -The label only applies when this flow graph is instantiated as a hierarchical block. +Leave the label blank to use the parameter id as the label. When type is not None, this parameter also becomes a command line option of the form --[id] [value]. diff --git a/grc/python/flow_graph.tmpl b/grc/python/flow_graph.tmpl index a45a918d..742ceb94 100644 --- a/grc/python/flow_graph.tmpl +++ b/grc/python/flow_graph.tmpl @@ -185,7 +185,8 @@ if __name__ == '__main__': #set $type = $param.get_param('type').get_value() #if $type #silent $params_eq_list.append('%s=options.%s'%($param.get_id(), $param.get_id())) - parser.add_option("--$param.get_id()", dest="$param.get_id()", type="$type", default=$param.get_make()) + parser.add_option("--$param.get_id()", dest="$param.get_id()", type="$type", default=$param.get_make(), + help="Set $($param.get_param('label').evaluate() or $param.get_id()) [default=%default]") #end if #end for (options, args) = parser.parse_args() diff --git a/grc/todo.txt b/grc/todo.txt index ad7e62ff..4c6471c7 100644 --- a/grc/todo.txt +++ b/grc/todo.txt @@ -14,10 +14,20 @@ * packet mod: whitening offset * wx min window size in options block * gr_adaptive_fir_ccf +* ofdm + * gr_ofdm_bpsk_demapper + * gr_ofdm_cyclic_prefixer + * gr_ofdm_demapper_vcb + * gr_ofdm_frame_acquisition + * gr_ofdm_frame_sink + * gr_ofdm_insert_preamble + * gr_ofdm_mapper_bcv + * gr_ofdm_sampler ################################################## # Features ################################################## +* extract category from doxygen * param editor, expand entry boxes in focus * change param dialog to panel within main window * search for blocks in category window