]> Devi Nivas Git - cs3210-lab0.git/commitdiff
Updated qemu-xv6 to actually take a memory arg
authorDavid Devecsery <ddevec@gatech.edu>
Tue, 16 Jun 2020 19:31:04 +0000 (15:31 -0400)
committerDavid Devecsery <ddevec@gatech.edu>
Tue, 16 Jun 2020 19:31:04 +0000 (15:31 -0400)
scripts/xv6-qemu

index 17b9a26e38a2d26de8093763a844ade801f7cf60..66cf918549791aecc681e175df3631acad727c18 100755 (executable)
@@ -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" -- "$@")