commit | b2a2fd788f34a4f5d1bbd92a283e47704f05ae8f | [log] [tgz] |
---|---|---|
author | Donald Sharp <sharpd@cumulusnetworks.com> | Wed Dec 09 08:24:46 2015 -0500 |
committer | Paul Jakma <paul.jakma@hpe.com> | Fri Feb 26 14:11:47 2016 +0000 |
tree | 60c789a8376edf88f1d0206ece1be43451c7a9cd | |
parent | 91ce87aacfd8718b5a52fb0f4453e9f72d8bdb53 [diff] |
lib: Add CMD_RANGE_STR macro to command.h Allow the auto-generation of a "<X-Y>" string for cli handline. Where X or Y can be a #define. CMD_RANGE_STR(LOW, HIGH) translates to: "<4-99>" Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>