diff options
-rw-r--r-- | grc/blocks/parameter.xml | 3 | ||||
-rw-r--r-- | grc/python/flow_graph.tmpl | 3 | ||||
-rw-r--r-- | grc/todo.txt | 10 |
3 files changed, 13 insertions, 3 deletions
diff --git a/grc/blocks/parameter.xml b/grc/blocks/parameter.xml index d3bab94c3..21e5f04b3 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]. </doc> diff --git a/grc/python/flow_graph.tmpl b/grc/python/flow_graph.tmpl index a45a918d0..742ceb944 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 ad7e62ff6..4c6471c76 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 |