diff options
author | Sakirnth Nagarasa <sakirnth@gmail.com> | 2021-09-01 11:24:17 +0000 |
---|---|---|
committer | Sakirnth Nagarasa <sakirnth@gmail.com> | 2021-09-01 11:24:17 +0000 |
commit | b04c8adf50e570c0476b32e5dc89cf61c19876fb (patch) | |
tree | eedc60cd3be644ec9adf6806671c2f91698187c7 /share/build-scripts/qemu | |
parent | Correcting qemu help output. (diff) | |
download | compute-tools-b04c8adf50e570c0476b32e5dc89cf61c19876fb.tar.xz compute-tools-b04c8adf50e570c0476b32e5dc89cf61c19876fb.zip |
Handling arguemnt id for qemu script.
Signed-off-by: Sakirnth Nagarasa <sakirnth@gmail.com>
Diffstat (limited to 'share/build-scripts/qemu')
-rwxr-xr-x | share/build-scripts/qemu | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/share/build-scripts/qemu b/share/build-scripts/qemu index 4a0540d..4104d1c 100755 --- a/share/build-scripts/qemu +++ b/share/build-scripts/qemu @@ -33,8 +33,8 @@ export SCRIPT Parameters () { - GETOPT_LONGOPTIONS="bind:,bind-ro:,script:,name:,preseed-file:,boot-method:," - GETOPT_OPTIONS="b:,s:,n:,p:" + GETOPT_LONGOPTIONS="id:,bind:,bind-ro:,script:,name:,preseed-file:,boot-method:," + GETOPT_OPTIONS="i:,b:,s:,n:,p:" PARAMETERS="$(getopt --longoptions ${GETOPT_LONGOPTIONS} --name=${SCRIPT} --options ${GETOPT_OPTIONS} --shell sh -- "${@}")" @@ -49,6 +49,11 @@ Parameters () while true do case "${1}" in + -i|--id) + # ignore + shift 2 + ;; + -b|--bind) # ignore shift 2 |