[ovs-dev] [compgen v2 4/5] command-line: Add function to print command usage.

Ben Pfaff blp at nicira.com
Tue Oct 28 17:56:28 UTC 2014


On Sun, Oct 19, 2014 at 10:50:22PM -0700, Alex Wang wrote:
> This commit adds a new variable in 'struct command' for
> recording the command usage.  Also, a new function is
> added to print the usage given the array of defined
> commands.
> 
> Later patche will use the output in bash command-line
> completion script.
> 
> Signed-off-by: Alex Wang <alexw at nicira.com>

Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list