summaryrefslogtreecommitdiff
path: root/gpsfake
diff options
context:
space:
mode:
authorRobert Norris <rw_norris@hotmail.com>2017-03-08 00:24:29 +0000
committerFred Wright <fw@fwright.net>2017-03-17 15:44:59 -0700
commit468ec7704ccfcf56559bb2388dcc88a9e819e411 (patch)
treed1da982e795857b6e4cc8d221aba20a0f3807572 /gpsfake
parentd94431a34bfa2a596db96bed6b7e67cc9522e091 (diff)
downloadgpsd-468ec7704ccfcf56559bb2388dcc88a9e819e411.tar.gz
Enable gpsfake to list all options
Output a succinct list of all options available for gpsfake. This includes fixing the incorrect double hyphen for the debug level. Note that gpsfake can handle multiple log files. TESTED: The list is displayed on 'gpsfake -h' Signed-off-by: Fred Wright <fw@fwright.net>
Diffstat (limited to 'gpsfake')
-rwxr-xr-xgpsfake4
1 files changed, 3 insertions, 1 deletions
diff --git a/gpsfake b/gpsfake
index f9450359..396893eb 100755
--- a/gpsfake
+++ b/gpsfake
@@ -173,7 +173,9 @@ if __name__ == '__main__':
elif switch == '-v':
verbose += 1
elif switch == '-h':
- sys.stderr.write("usage: gpsfake [-h] [-l] [-m monitor] [--D debug] [-o options] [-p] [-s speed] [-S] [-c cycle] [-b] logfile\n")
+ sys.stderr.write("usage: gpsfake"
+ " [-1] [-h] [-i] [-l] [-g] [-m monitor] [-D debug] [-n] [-o options] [-p]\n"
+ "\t[-P port] [-r initcmd] [-t] [-T] [-v] [-x] [-s speed] [-S] [-c cycle] [-b] logfile...\n")
raise SystemExit(0)
try: