summaryrefslogtreecommitdiff
path: root/xgps
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-09-25 14:06:47 -0700
committerGary E. Miller <gem@rellim.com>2018-09-25 14:06:47 -0700
commit6d1f55287ccbea93eaba63e6861d4aafa6bae6fd (patch)
tree088e3bd5ccb1326ca828d457311c1ef27b6d0858 /xgps
parent03e3bfc3d7205c811a595f0536663c90495a533f (diff)
downloadgpsd-6d1f55287ccbea93eaba63e6861d4aafa6bae6fd.tar.gz
xgps: improve usage()
Diffstat (limited to 'xgps')
-rwxr-xr-xxgps13
1 files changed, 12 insertions, 1 deletions
diff --git a/xgps b/xgps
index 220c7e7e..1b45da75 100755
--- a/xgps
+++ b/xgps
@@ -3,8 +3,19 @@
'''
xgps -- test client for gpsd
-usage: xgps [-D level] [-hV?] [-l degmfmt] [-u units] [-r rotation]
+usage: xgps [-?] [-D level] [-h] [-l degmfmt] [-r rotation] [-u units] [-V]
[server[:port[:device]]]
+
+ -? Print help and exit.
+ -D lvl Set debug level to lvl
+ -h Print help and exit.
+ -l {d|m|s} Select lat/lon format
+ d = DD.dddddd (default)
+ m = DD MM.mmmm'
+ s = DD MM' SS.sss"
+ -r rotation Set rotation
+ -u units Set units
+ -V Print version and exit.
'''
# This file is Copyright (c) 2010 by the GPSD project