From fe5286b8e5c41d80ae60c25074ab4fdd02f6f89a Mon Sep 17 00:00:00 2001 From: Ruben van Staveren Date: Wed, 9 Sep 2020 15:38:54 +0200 Subject: [PATCH] The --check option is actually part of the "output group" set of switches --- sort_certificate.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sort_certificate.py b/sort_certificate.py index 7d210cc..8ad4de3 100755 --- a/sort_certificate.py +++ b/sort_certificate.py @@ -250,12 +250,11 @@ def handle_args(): action='store_true', help='Show only error logging') - loggrp.add_argument('-c', '--check', - action='store_true', - help='Only check, output nothing') - outputgrp = parser.add_mutually_exclusive_group() + outputgrp.add_argument('-c', '--check', + action='store_true', + help='Only check, output nothing') outputgrp.add_argument('--just-certificate', dest='print_cert', action='store_true',