[common] option: added shortopt support and pretty help print
This commit is contained in:
1 parent
b9841351b4
commit
2d5f6d65ce
3 files changed
+173
-37
No files matched your search
@@ -36,6 +36,7 @@ struct Option
|
||||
char * module;
|
||||
char * name;
|
||||
char * description;
|
||||
const char shortopt;
|
||||
|
||||
enum OptionType type;
|
||||
union
|
||||
|
||||
Reference in new issue
Block a user