Open claudix opened 3 years ago
Hi @claudix ,
From users' point of view, the major differences are:
I believe you can still use most of the v2 APIs in v3. However, v3 doesn't promise to be compatible with v2, so I can have more freedom to shape v3 APIs.
v3 is still based on getopt
, so you're right, maybe it is not thread-safe. However, I never use Argtable3 in multi-thread scenarios, so I never think about making v3 a thread-safe library. If there's such a use case, maybe we can dedicate a thread to Argtable3, and all the other threads can call the service exposed by the Argtable3 thread to parse commands.
I've been using argtable2 for a very long time and recently I've came across with this project. It'd be nice to clarify some points in the docs:
getopt()
The amalgamation feature is a +1 feature, so thanks for that!