aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils.h
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-06-23 01:17:57 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-06-23 01:34:11 +0200
commitfa15396204a796135f71b5aef6cbbe3ba1fc0eb3 (patch)
tree41b58a8848bfaa181612278be11244416a4f47d5 /utils.h
parent44936538b1f956c524ba063eb3f1efaf0f92dae1 (diff)
downloadsparse-dev-fa15396204a796135f71b5aef6cbbe3ba1fc0eb3.tar.gz
testsuite: fix 'format help' / validate number of arguments
The subcommand 'format help' is broken because the of the way arguments are parsed without validating the number of arguments. Fix this by parsing all arguments (even if there is only one) and validate the number of arguments at the end of the loop. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'utils.h')
0 files changed, 0 insertions, 0 deletions