Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1023 Bytes

File metadata and controls

31 lines (25 loc) · 1023 Bytes

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 - 2025-12-23

Added

  • Initial release of c-argparse library
  • Support for boolean flags (short and long options)
  • Support for string, integer, and float options
  • Positional argument handling
  • Default values for options
  • Automatic help generation with --help
  • Clear error reporting and validation
  • Helper macros for common option types
  • Comprehensive unit test suite (44 tests)
  • Basic and advanced usage examples
  • Complete API documentation
  • Portable C99 implementation
  • No external dependencies

Security

  • Integer overflow protection for numeric options
  • Float overflow/underflow detection
  • Proper memory allocation error handling
  • Safe string operations throughout