]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/memory-model: Add "--" to parseargs.sh for additional arguments
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 2 May 2019 16:51:57 +0000 (09:51 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 10 May 2021 23:29:07 +0000 (16:29 -0700)
commit88dd5fa6a25813a15bf93c21cbc132c86a97c0b7
tree77bba1b56d346c9d194d3e3e344a5f1d4ea0eb04
parent4ab81c527031313304f7d6ecbaf1486ff8297edd
tools/memory-model:  Add "--" to parseargs.sh for additional arguments

Currently, parseargs.sh expects to consume all the command-line arguments,
which prevents the calling script from having any of its own arguments.
This commit therefore causes parseargs.sh to stop consuming arguments
when it encounters a "--" argument, leaving any remaining arguments for
the calling script.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/memory-model/scripts/parseargs.sh