From: Keith Packard Date: Mon, 7 Sep 2009 01:11:24 +0000 (-0700) Subject: Update usage and man page for ao-postflight X-Git-Tag: debian/0.5+77+gc57bd7f~8^2~4 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=9177f5f4e9d832558ddd9ab227c4511f6201e7e5;ds=sidebyside Update usage and man page for ao-postflight --- 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=] +[\-d ] +[\-p ] +[\--plot=] {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=] [--detail=] {flight-log} ...\n", program); + fprintf(stderr, "usage: %s [--summary=] [-s ] [--detail=] [--plot= -p ] {flight-log} ...\n", program); exit(1); }