Skip to content

Commit

Permalink
Remove double 'kph' metric unit
Browse files Browse the repository at this point in the history
  • Loading branch information
wschoot authored and time4tea committed Jan 23, 2024
1 parent f3015c5 commit e64957a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/bin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ Units:
Controlling Units
--units-speed UNITS_SPEED
Default unit for speed. Many units supported: mph, mps, kph, kph, knot, ... (default: mph)
Default unit for speed. Many units supported: mph, mps, kph, knot, ... (default: mph)
--units-altitude UNITS_ALTITUDE
Default unit for altitude. Many units supported: foot, mile, metre, meter, parsec,
angstrom, ... (default: metre)
Expand Down
2 changes: 1 addition & 1 deletion gopro_overlay/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def gopro_dashboard_arguments(args=None):
units = parser.add_argument_group("Units", "Controlling Units")

units.add_argument("--units-speed", default="mph",
help="Default unit for speed. Many units supported: mph, mps, kph, kph, knot, ...")
help="Default unit for speed. Many units supported: mph, mps, kph, knot, ...")
units.add_argument("--units-altitude", default="metre",
help="Default unit for altitude. Many units supported: foot, mile, metre, meter, parsec, angstrom, ...")
units.add_argument("--units-distance", default="mile",
Expand Down
2 changes: 1 addition & 1 deletion tests/layout/test_layout_conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_overriding_default_units():


def test_various_speed_conversions_dont_blow_up():
for i in "mph, mps, kph, kph, knot".split(","):
for i in "mph, mps, kph, knot".split(","):
Converters(speed_unit=i).converter("speed")(speed)


Expand Down

0 comments on commit e64957a

Please sign in to comment.