Skip to content

Fixed several bugs related to parsing CLI arguments, added comments, …#35

Closed
AllenEveland wants to merge 1 commit into
anhtuank7c:mainfrom
AllenEveland:feature/allen-feature
Closed

Fixed several bugs related to parsing CLI arguments, added comments, …#35
AllenEveland wants to merge 1 commit into
anhtuank7c:mainfrom
AllenEveland:feature/allen-feature

Conversation

@AllenEveland

@AllenEveland AllenEveland commented Jun 17, 2026

Copy link
Copy Markdown
  • Instead of using the classic enum {}, switch to #define.
  • Replace while(1)/break with do-while(p != NULL) to make the loop's exit condition explicit and remove the dead matched_any guard.
  • Fixed a bug where users passed empty values ỏ invalid path(may be other flags or something) ​​to the parameters for -c and --config, and added a feature to check for existing paths before proceeding.

@AllenEveland AllenEveland closed this by deleting the head repository Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant