Adding some instructions for using the sim, also improving the --help

output to be more consistent
This commit is contained in:
Rob Emery committed 2026-10-28 11:23:14 +00:00
1 parent f22bf9cf82
commit 8d20af475e
2 files changed
+32 -8

No files matched your search

+4 -4
View File
@@ -707,10 +707,10 @@ def loadMachineConfig(filename):
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--machine", default=None, help="Path to machine.c or .h file to parse")
parser.add_argument("--port", default=8081, type=int, help="Port to bind to")
parser.add_argument("--bindaddr", default="127.0.0.1", help="Address to bind")
parser.add_argument("--verbose", action="store_true", help="Enable verbose output")
parser.add_argument("--machine", default=None, help="path to machine.c or .h file to parse (optional)")
parser.add_argument("--port", default=8081, type=int, help="port to bind to (default 8081)")
parser.add_argument("--bindaddr", default="127.0.0.1", help="address to bind (default 127.0.0.1)")
parser.add_argument("--verbose", action="store_true", help="enable verbose output")
args = parser.parse_args()