summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-25 14:30:31 -0700
committerGary E. Miller <gem@rellim.com>2019-04-25 14:30:31 -0700
commit7d868ac1a3141bedf7c89bff95294aec3ef07027 (patch)
treeb565cfe9cc9cf6db25bc451e4e70da6a41f02fba /ubxtool
parenta94128d8a28ff2cab5d045d4396d4d0a821724fc (diff)
downloadgpsd-7d868ac1a3141bedf7c89bff95294aec3ef07027.tar.gz
ubxtool: "-h -v 3" prints all Configurtaion Items.
Wow, a lot of them...
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool6
1 files changed, 6 insertions, 0 deletions
diff --git a/ubxtool b/ubxtool
index 48a11ba8..2d2e4c54 100755
--- a/ubxtool
+++ b/ubxtool
@@ -4487,6 +4487,12 @@ def usage():
for item in sorted(gps_model.commands.keys()):
print(" %-13s %s" % (item, gps_model.commands[item]["help"]))
print('\n')
+ if VERB_DECODE < opts['verbosity']:
+ print('\nConfiguration items for -g, -x and -z can be one of:')
+ for item in sorted(gps_model.cfgs):
+ print(" %s\n"
+ " %s" % (item[0], item[5]))
+ print('\n')
print('Options can be placed in the UBXOPTS environment variable.\n'
'UBXOPTS is processed before the CLI options.')