Skip to content

Commit 6110f3e

Browse files
authored
Merge pull request #62 from ethz-asl/fix/long-options
Making long options work for ctt_introspect
2 parents 9e9d782 + 55a7438 commit 6110f3e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cuckoo_time_translator_python/scripts/ctt_introspect.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717

1818
parser = argparse.ArgumentParser(description='Analyze DeviceTimestamp message streams.')
1919
parser.add_argument('bag', nargs=1, help='The path to the bag file containing the DeviceTimestamp messages')
20-
parser.add_argument('-t,--topic', dest='topic', nargs='+', help='The path to the bag file containing the DeviceTimestamp messages')
21-
parser.add_argument('-v,--verbose', dest='verbose', action='count', help='Increase verbosity (counted)')
22-
parser.add_argument('-o,--output', dest='output', help='Output file to plot to (PDF format)')
23-
parser.add_argument('-b,--baseLine', dest='baseLine', default="LeastSquares", help='Use this batch-method as base line; LeastSquares, ConvexHull, Index')
24-
parser.add_argument('-f,--owts', dest='owts', default=OwtsDefault, help='Additional OWTs (one way translators) to compare with. Default: ' + OwtsDefault)
20+
parser.add_argument('-t', '--topic', nargs='+', help='The path to the bag file containing the DeviceTimestamp messages')
21+
parser.add_argument('-v', '--verbose', action='count', help='Increase verbosity (counted)')
22+
parser.add_argument('-o', '--output', help='Output file to plot to (PDF format)')
23+
parser.add_argument('-b', '--baseLine', default="LeastSquares", help='Use this batch-method as base line; LeastSquares, ConvexHull, Index')
24+
parser.add_argument('-f', '--owts', default=OwtsDefault, help='Additional OWTs (one way translators) to compare with. Default: ' + OwtsDefault)
2525
parser.add_argument('--dontPlotReceiveTimes', action='store_true', help='don\'t plot receive timestamps')
2626
parser.add_argument('--dontPlotPreTranslated', action='store_true', help='don\'t plot pre-translated timestamps, i.e., translated in the device driver')
2727
parser.add_argument('--invalidate', action='store_true', help='invalidate any possibly existing cache')

0 commit comments

Comments
 (0)