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>
Wed, 2 Feb 2022 01:33:28 +0000 (17:33 -0800)
commit311f4f6cbeb2729a2e25538500cb0ecf83ee62ed
tree245fd39390a844ffaa39c514479c9a5f89f12c7e
parent4891feb630e5a8a79d7c61a76db134ba4ebfef00
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