gn2bp: Update the comment for value args and list args

Test: ./update_results.sh
Change-Id: I0f28041f0c6e83ff9dd20c74b0a4dbd684b3f2e0
This commit is contained in:
Motomu Utsumi 2022-12-02 14:35:15 +09:00
commit 8be8a266e5

View file

@ -627,10 +627,9 @@ class BaseActionSanitizer():
# - flags (--flag)
# - value args (--arg value)
# - list args (--arg value1 --arg value2)
# value args have exactly one arg value pair and list args have one or more arg value pairs.
# Note that the set of list args contains the set of value args.
# value args must have exactly one arg value pair but list args could have one arg value pair.
# This is because list args with one arg value pair and value args can not be distinguished only
# from the desc.json
# This is because list and value args are identical when the list args has only one arg value pair
# Some functions provide special implementations for each type, while others
# work on all of them.
def _has_arg(self, arg):