Skip to content

support long options

Helmut Grohne requested to merge longoptions into main

This change extends option parsing of the debvm tools:

  • Uses posix getopts. No additional dependencies.
  • Long option are supported. The option value may be a separate argument or separated with =.
  • Option value may follow short option immediately, e.g. -as390x
  • Multiple short options may be combined, e.g. -gs 2222

Technical limitation:

  • Short options are parsed inside a double dash, e.g. -g-image=rootfs.ext4

Merge request reports

Loading