2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 19:28:26 +08:00

artiq_coreprofile: fix an inverted option.

This commit is contained in:
whitequark 2018-05-05 00:49:42 +00:00
parent b1d349cc1b
commit 5ebc626cf4

View File

@ -123,7 +123,7 @@ def get_argparser():
help="file to save profile to, in Callgrind format") help="file to save profile to, in Callgrind format")
p_save.add_argument("firmware", metavar="FIRMWARE", type=str, p_save.add_argument("firmware", metavar="FIRMWARE", type=str,
help="path to firmware ELF file") help="path to firmware ELF file")
p_save.add_argument("--no-compression", default=True, action='store_false', p_save.add_argument("--no-compression", default=False, action='store_true',
help="disable profile compression") help="disable profile compression")
return parser return parser