sdlog2_dump.py comments and version updated

This commit is contained in:
Anton Babushkin 2013-06-02 12:22:43 +04:00
parent bd8bafb347
commit 6e5e1ff817
1 changed files with 4 additions and 2 deletions

View File

@ -2,10 +2,12 @@
"""Dump binary log generated by sdlog2 or APM as CSV """Dump binary log generated by sdlog2 or APM as CSV
Usage: python sdlog2_dump.py <log.bin> [-v] [-d delimiter] [-n null] [-m MSG[.field1,field2,...]] Usage: python sdlog2_dump.py <log.bin> [-v] [-e] [-d delimiter] [-n null] [-m MSG[.field1,field2,...]]
-v Use plain debug output instead of CSV. -v Use plain debug output instead of CSV.
-e Recover from errors.
-d Use "delimiter" in CSV. Default is ",". -d Use "delimiter" in CSV. Default is ",".
-n Use "null" as placeholder for empty values in CSV. Default is empty. -n Use "null" as placeholder for empty values in CSV. Default is empty.
@ -15,7 +17,7 @@ Usage: python sdlog2_dump.py <log.bin> [-v] [-d delimiter] [-n null] [-m MSG[.fi
Multiple -m options allowed.""" Multiple -m options allowed."""
__author__ = "Anton Babushkin" __author__ = "Anton Babushkin"
__version__ = "1.1" __version__ = "1.2"
import struct, sys import struct, sys