Mercurial > libervia-backend
diff 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 |
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_file.py Thu Nov 12 14:53:16 2020 +0100 +++ b/sat_frontends/jp/cmd_file.py Thu Nov 12 14:53:16 2020 +0100 @@ -456,7 +456,7 @@ def add_parser_options(self): self.parser.add_argument( - '-o', '--dest_file', type=str, default='', + '-o', '--dest-file', type=str, default='', help=_("destination file (DEFAULT: filename from URL)") ) self.parser.add_argument(