mirror of
https://github.com/ZGCA-Forge/Elevator.git
synced 2025-12-14 13:04:41 +00:00
fix incorrect default value for --debug flag
This commit is contained in:
@@ -703,7 +703,7 @@ def main() -> None:
|
||||
parser = argparse.ArgumentParser(description="Elevator Simulation Server")
|
||||
parser.add_argument("--host", default="127.0.0.1", help="Server host")
|
||||
parser.add_argument("--port", type=int, default=8000, help="Server port")
|
||||
parser.add_argument("--debug", default=True, action="store_true", help="Enable debug logging")
|
||||
parser.add_argument("--debug", default=False, action="store_true", help="Enable debug logging")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user