builder/soc_core: Add missing title.

This commit is contained in:
Florent Kermarrec 2022-03-21 18:07:34 +01:00
parent 901428f5a9
commit 33d6c3de8f
2 changed files with 2 additions and 2 deletions

View File

@ -375,7 +375,7 @@ class Builder:
def builder_args(parser): def builder_args(parser):
parser.formatter_class = lambda prog: argparse.ArgumentDefaultsHelpFormatter(prog, max_help_position=10, width=120) parser.formatter_class = lambda prog: argparse.ArgumentDefaultsHelpFormatter(prog, max_help_position=10, width=120)
builder_group = parser.add_argument_group("Builder options") builder_group = parser.add_argument_group(title="Builder options")
builder_group.add_argument("--output-dir", default=None, help="Base Output directory.") builder_group.add_argument("--output-dir", default=None, help="Base Output directory.")
builder_group.add_argument("--gateware-dir", default=None, help="Output directory for Gateware files.") builder_group.add_argument("--gateware-dir", default=None, help="Output directory for Gateware files.")
builder_group.add_argument("--software-dir", default=None, help="Output directory for Software files.") builder_group.add_argument("--software-dir", default=None, help="Output directory for Software files.")

View File

@ -295,7 +295,7 @@ class SoCCore(LiteXSoC):
# SoCCore arguments -------------------------------------------------------------------------------- # SoCCore arguments --------------------------------------------------------------------------------
def soc_core_args(parser): def soc_core_args(parser):
soc_group = parser.add_argument_group("SoC options") soc_group = parser.add_argument_group(title="SoC options")
# Bus parameters # Bus parameters
soc_group.add_argument("--bus-standard", default="wishbone", help="Select bus standard: {}.".format(", ".join(SoCBusHandler.supported_standard))) soc_group.add_argument("--bus-standard", default="wishbone", help="Select bus standard: {}.".format(", ".join(SoCBusHandler.supported_standard)))
soc_group.add_argument("--bus-data-width", default=32, type=auto_int, help="Bus data-width.") soc_group.add_argument("--bus-data-width", default=32, type=auto_int, help="Bus data-width.")