From: Simon Marchi Date: Mon, 29 Jul 2013 19:22:42 +0000 (-0400) Subject: bash completion: Remove underscores in handler function names X-Git-Tag: v2.3.0-rc3~58 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=6c806062d2b535701bd5dcce4d3b41fe46a69670;hp=6c806062d2b535701bd5dcce4d3b41fe46a69670;p=lttng-tools.git bash completion: Remove underscores in handler function names If the command name contains a dash, it is removed to derive the function name that will handle completion. For example, add-context becomes _lttng_cmd_addcontext. The functions with erroneous names were not getting called. Reported-by: Daniel U. Thibault Signed-off-by: Simon Marchi Signed-off-by: David Goulet ---