Generate getopt params from option structures
Generate getopt params from option structures

Use the option descriptions to generate the optstring and longopts
parameters for the getopt_long() command.

That way, the options are completely described in a single place.

Genymobile/scrcpy,Genymobile/scrcpy,Genymobile/scrcpy