Update usage and man page for ao-postflight
authorKeith Packard <keithp@keithp.com>
Mon, 7 Sep 2009 01:11:24 +0000 (18:11 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 7 Sep 2009 01:11:24 +0000 (18:11 -0700)
ao-tools/ao-postflight/ao-postflight.1
ao-tools/ao-postflight/ao-postflight.c

index fe02587f7fa863395c47da83756d3b7fae7b0bb2..ac1c18a4243c766c32ddd0ef3cad751eec76ad58 100644 (file)
 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
index bc6638e9858fe89bdea4c2b51b747cc9ae8e4fea..4ca39c2448a2483359643776afecede920655dea 100644 (file)
@@ -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);
 }