We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ff2e44 commit 1fd9388Copy full SHA for 1fd9388
amaranth_cli/__init__.py
@@ -34,7 +34,8 @@ def component(reference):
34
raise argparse.ArgumentTypeError(f"'{qual_name}:{mod_name}' refers to an object that is not elaboratable")
35
return obj
36
else:
37
- 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, "
38
+ "expecting a name like: 'path.to.module:ObjectInModule'")
39
40
parser = argparse.ArgumentParser(
41
"amaranth", description="""
0 commit comments