Flag interpretation #1

Merged
avery merged 4 commits from flag-interpretation into main 2026-08-21 09:40:05 +00:00
Owner

Added getopt-based flag interpreter. Available flags:

  • -h: Help (prints helptext). This is also triggered with bad usage.
  • -o: Output file. A default is provided, but the flag can change it.
  • -r: Reference opcode file. Like above.
  • -v: Verbosity level (multiple permitted) - from 0 (default) to 3 (insane debug).

Though it is bad practice, one or two names were cleaned up in this process: verify_file no longer assumes it's working on the reference CSV judging by its variable names.
"Feedback" text was tweaked compared to the commented originals.

Added `getopt`-based flag interpreter. Available flags: - `-h`: Help (prints helptext). This is also triggered with bad usage. - `-o`: Output file. A default is provided, but the flag can change it. - `-r`: Reference opcode file. Like above. - `-v`: Verbosity level (multiple permitted) - from 0 (default) to 3 (insane debug). Though it is bad practice, one or two names were cleaned up in this process: `verify_file` no longer assumes it's working on the reference CSV judging by its variable names. "Feedback" text was tweaked compared to the commented originals.
avery merged commit 21ff12a92f into main 2026-08-21 09:40:05 +00:00
avery deleted branch flag-interpretation 2026-08-21 09:40:05 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
avery/OASM!1
No description provided.