Skip to content

Commit

Permalink
changing reference rather than argparse name
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Wainwright committed Jan 9, 2025
1 parent f344c7d commit df05f6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/JSBSim.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
help="specifies to suspend the simulation after initialization")
parser.add_argument("--initfile", metavar="<filename>",
help="specifies an initialization file")
parser.add_argument("--planetfile", metavar="<filename>",
parser.add_argument("--planet", metavar="<filename>",
help="specifies a planet definition file")
parser.add_argument("--catalog", default=False, action="store_true",
help="specifies that all properties for this aircraft model should be printed")
Expand Down Expand Up @@ -125,7 +125,7 @@ def CheckXMLFile(f):

args.simulation_rate = fdm.get_delta_t()

if args.planetfile:
if args.planet:
fdm.load_planet(args.planetfile, False)

if args.property:
Expand Down

0 comments on commit df05f6a

Please sign in to comment.