From 9898d21f291d26eeb78dd3cf5709f694a70c2ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abdulkadir=20Furkan=20=C5=9Eanl=C4=B1?= Date: Sun, 25 Sep 2022 15:30:58 +0200 Subject: [PATCH] Improve help message. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Abdulkadir Furkan Şanlı --- naut.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/naut.py b/naut.py index fb6d27b..6101716 100755 --- a/naut.py +++ b/naut.py @@ -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()