Improve help message.
Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
This commit is contained in:
parent
bdd1a3441e
commit
9898d21f29
10
naut.py
10
naut.py
@ -107,16 +107,22 @@ parser.add_argument(
|
|||||||
"--coordinates",
|
"--coordinates",
|
||||||
nargs=2,
|
nargs=2,
|
||||||
action="append",
|
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(
|
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(
|
parser.add_argument(
|
||||||
"-m",
|
"-m",
|
||||||
"--distance",
|
"--distance",
|
||||||
type=int,
|
type=int,
|
||||||
help="set the radius from home base in meters, defaults to 4827",
|
help="set the radius from home base in meters, defaults to 4827",
|
||||||
|
metavar="METERS",
|
||||||
)
|
)
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
Loading…
Reference in New Issue
Block a user