diff options
author | Helmut Grohne <helmut@subdivi.de> | 2022-12-27 13:05:00 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2022-12-27 13:05:00 +0100 |
commit | c42caac69b5d32c6330716a829d33086b04f2b76 (patch) | |
tree | 868df92df0e44a8ee4b89fc7a562ecc8e7443181 /9pmounthook | |
parent | b44e90f2139b97ac92bd69123679d04d16c9bd15 (diff) | |
download | debvm-c42caac69b5d32c6330716a829d33086b04f2b76.tar.gz |
support long options
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
Diffstat (limited to '9pmounthook')
0 files changed, 0 insertions, 0 deletions