Projet

Général

Profil

0001-import-site-show-proper-option-help-message-31709.patch

Paul Marillonnet, 25 mars 2019 18:00

Télécharger (1,13 ko)

Voir les différences:

Subject: [PATCH] import site: show proper option help message (#31709)

 src/authentic2/management/commands/import_site.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
src/authentic2/management/commands/import_site.py
44 44
        parser.add_argument(
45 45
            'filename', metavar='FILENAME', type=str, help='name of file to import')
46 46
        parser.add_argument(
47
            '--dry-run', action='store_true', dest='dry_run', help='Really perform the import')
47
            '--dry-run', action='store_true', dest='dry_run',
48
            help='Do not actually perform the import')
48 49
        parser.add_argument(
49 50
            '-o', '--option', action='append', help='Import context options',
50 51
            choices=[
51
-