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 [email protected]