utils: Add getopt-long command line switch parsing to gschlas

Affects-bug: lp-1218833