From f29d0df5c7df14caa69d7f83ce67fa8f6cc1bea4 Mon Sep 17 00:00:00 2001 From: David Devecsery Date: Tue, 16 Jun 2020 15:31:04 -0400 Subject: [PATCH] Updated qemu-xv6 to actually take a memory arg --- scripts/xv6-qemu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/xv6-qemu b/scripts/xv6-qemu index 17b9a26..66cf918 100755 --- a/scripts/xv6-qemu +++ b/scripts/xv6-qemu @@ -16,8 +16,8 @@ function print_help() { print " -m --memory -- Set the amount of memory to give to xv6 (default is ${MEMORY})" } -OPTIONS="h?c:gxvm" -LONGOPTS="help,num-cpus:,gdb,x-server,verbose,memory" +OPTIONS="h?c:gxvm:" +LONGOPTS="help,num-cpus:,gdb,x-server,verbose,memory:" ! PARSED=$(getopt --options=${OPTIONS} --longoptions=${LONGOPTS} --name "$0" -- "$@") -- 2.47.3