forked from bartvdbraak/blender
Fix T56092: command line arguments after -- beginning with -h don't work.
This commit is contained in:
parent
67e690f5fc
commit
9a080d2ea6
@ -52,7 +52,9 @@ def _workaround_buggy_drivers():
|
||||
|
||||
def _configure_argument_parser():
|
||||
import argparse
|
||||
parser = argparse.ArgumentParser(description="Cycles Addon argument parser")
|
||||
# No help because it conflicts with general Python scripts argument parsing
|
||||
parser = argparse.ArgumentParser(description="Cycles Addon argument parser",
|
||||
add_help=False)
|
||||
parser.add_argument("--cycles-resumable-num-chunks",
|
||||
help="Number of chunks to split sample range into",
|
||||
default=None)
|
||||
|
Loading…
Reference in New Issue
Block a user