mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
The file `main-unix.c` contained a lot of recurring patterns in the command line option handling parts. This patch removes these code clones with the introduction of two helper functions. The goal of the patch is to have a smaller and maintainable `jerry` tool (mostly source-wise). JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu