You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From users' point of view, the major differences are:
Change to 3-Clause BSD license.
Provide amalgamation distribution.
Add APIs to support subcommands.
Add APIs to manage dynamic strings and make it easier to write Tcl commands.
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!
The text was updated successfully, but these errors were encountered: