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 fe02587..ac1c18a 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 bc6638e..4ca39c2 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);
 }