Microproject idea: new OPT_* macros for PARSE_OPT_NONEG
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Mar 7, 2014, 01:38 UTC
- Message-ID
- <CACsJy8CBVVJN3V8N_djLF4XKfTbxvdcJCnWmZJxVZOwy8AMQWA@mail.gmail.com>
Currently in order to avoid --[no]-xxx form we have to resort to declare full struct option. It'd be nice to have a set of OPT_* macros with PARSE_OPT_NONEG set. Find and update all "struct option []" declarations with the new macros (including ones that should never accept --no- form, but do anyway).
-- Duy