commit | 64f61640880011b991931ac30371719edd88e65d | [log] [tgz] |
---|---|---|
author | Ashwini Sharma <ak.ashwini1981@gmail.com> | Wed Mar 19 13:57:06 2014 -0500 |
committer | Ashwini Sharma <ak.ashwini1981@gmail.com> | Wed Mar 19 13:57:06 2014 -0500 |
tree | 2de61ccc62d5b3d7c37b8e73c6452a1168e8b5ce | |
parent | 817d97ba626f86c376cb8311c099ea5f010205d5 [diff] |
There are cases when the long options are of the format abc-def. In current implementation FLAG_xxx macros are generated for long options too. with __-__ sign in the macro, it will generate errors. I am of the opinion that __-__ be converted to '_' for generating the FLAG_xxx macros and be used in the command. This will enable the user to 'abc-def', but be handled like 'abc_def' in code.