seba: handle --path better

This commit is contained in:
Ivan Avdeev 2022-10-15 11:11:36 -07:00
parent 3aa9b4bf3c
commit 9366a6ffda

View File

@ -6,7 +6,7 @@ import traceback
from spirv import spv from spirv import spv
parser = argparse.ArgumentParser(description='Build pipeline descriptor') parser = argparse.ArgumentParser(description='Build pipeline descriptor')
parser.add_argument('--path', nargs='*', help='Directory to look for shaders') parser.add_argument('--path', action='append', help='Directory to look for shaders')
parser.add_argument('pipelines', type=argparse.FileType('r')) parser.add_argument('pipelines', type=argparse.FileType('r'))
# TODO strip debug OpName OpLine etc # TODO strip debug OpName OpLine etc
args = parser.parse_args() args = parser.parse_args()