Improve help message.

Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
This commit is contained in:
Abdulkadir Furkan Şanlı 2022-09-25 15:30:58 +02:00
parent bdd1a3441e
commit 9898d21f29
Signed by: afk
GPG Key ID: C8F00588EE6ED1FE

10
naut.py
View File

@ -107,16 +107,22 @@ parser.add_argument(
"--coordinates",
nargs=2,
action="append",
help="enter lat and long for home base, defaults to 52.229832 21.011734",
help="enter latitude and longitude for home base, defaults to 52.229832 21.011734",
metavar=("LAT", "LONG"),
)
parser.add_argument(
"-t", "--window", type=int, help="set the time window in minutes, defaults to 30"
"-t",
"--window",
type=int,
help="set the time window in minutes, defaults to 30",
metavar="MINUTES",
)
parser.add_argument(
"-m",
"--distance",
type=int,
help="set the radius from home base in meters, defaults to 4827",
metavar="METERS",
)
args = parser.parse_args()