Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion amaranth_cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def component(reference):
raise argparse.ArgumentTypeError(f"'{qual_name}:{mod_name}' refers to an object that is not elaboratable")
return obj
else:
raise argparse.ArgumentTypeError(f"{reference!r} is not a Python object reference")
raise argparse.ArgumentTypeError(f"{reference!r} can not be parsed as a Python object reference, "
"expecting a name like: 'path.to.module:ObjectInModule'")

parser = argparse.ArgumentParser(
"amaranth", description="""
Expand Down