comparison sat_frontends/jp/cmd_file.py @ 3411:f30b238d9c45

jp: follow best practices and use a dash (`-`) instead of underscore (`_`) for long options.
author Goffi <goffi@goffi.org>
date Thu, 12 Nov 2020 14:53:16 +0100
parents 55f9a38864af
children be6d91572633
comparison
equal deleted inserted replaced
3410:55f9a38864af 3411:f30b238d9c45
454 help=_("download a file from URI") 454 help=_("download a file from URI")
455 ) 455 )
456 456
457 def add_parser_options(self): 457 def add_parser_options(self):
458 self.parser.add_argument( 458 self.parser.add_argument(
459 '-o', '--dest_file', type=str, default='', 459 '-o', '--dest-file', type=str, default='',
460 help=_("destination file (DEFAULT: filename from URL)") 460 help=_("destination file (DEFAULT: filename from URL)")
461 ) 461 )
462 self.parser.add_argument( 462 self.parser.add_argument(
463 "-f", 463 "-f",
464 "--force", 464 "--force",