[common] option: added shortopt support and pretty help print

This commit is contained in:
Geoffrey McRae committed 2019-05-21 11:31:31 +10:00
1 parent b9841351b4
commit 2d5f6d65ce
3 files changed
+173 -37

No files matched your search

+1
View File
@@ -36,6 +36,7 @@ struct Option
char * module;
char * name;
char * description;
const char shortopt;
enum OptionType type;
union