diff options
author | Keith Packard <keithp@keithp.com> | 2009-09-06 18:11:24 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-09-06 18:11:24 -0700 |
commit | 9177f5f4e9d832558ddd9ab227c4511f6201e7e5 (patch) | |
tree | fc76cdfcc87cd011abe7dc86705ffaddf7b7d1ee | |
parent | 2e6686b1e183c66188ea447b8a54e4c29402443b (diff) |
Update usage and man page for ao-postflight
-rw-r--r-- | ao-tools/ao-postflight/ao-postflight.1 | 10 | ||||
-rw-r--r-- | ao-tools/ao-postflight/ao-postflight.c | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/ao-tools/ao-postflight/ao-postflight.1 b/ao-tools/ao-postflight/ao-postflight.1 index fe02587f..ac1c18a4 100644 --- a/ao-tools/ao-postflight/ao-postflight.1 +++ b/ao-tools/ao-postflight/ao-postflight.1 @@ -21,9 +21,17 @@ ao-postflight \- Analyse a flight log (either telemetry or eeprom) .SH SYNOPSIS .B "ao-postflight" +[\-s <summary-file>] +[\--summary=<summary-file>] +[\-d <detail-file] +[\--detail=<detail-file>] +[\-p <plot-file>] +[\--plot=<plot-file>] {flight.eeprom|flight.telem} .SH DESCRIPTION .I ao-postflight -reads the specified flight log and produces a summary of the flight on stdout. +reads the specified flight log and produces a summary of the flight on +stdout or to the specified file along with an optional .svg format +plot and detailed table of time/height/speed/accel. .SH AUTHOR Keith Packard diff --git a/ao-tools/ao-postflight/ao-postflight.c b/ao-tools/ao-postflight/ao-postflight.c index bc6638e9..4ca39c24 100644 --- a/ao-tools/ao-postflight/ao-postflight.c +++ b/ao-tools/ao-postflight/ao-postflight.c @@ -275,7 +275,7 @@ static const struct option options[] = { static void usage(char *program) { - fprintf(stderr, "usage: %s [--summary=<summary-file>] [--detail=<detail-file] [--plot=<plot-file>] {flight-log} ...\n", program); + fprintf(stderr, "usage: %s [--summary=<summary-file>] [-s <summary-file>] [--detail=<detail-file] [-d <detail-file>] [--plot=<plot-file> -p <plot-file>] {flight-log} ...\n", program); exit(1); } |