From: BenoƮt Fontaine Date: Thu, 28 Mar 2019 21:18:19 +0000 (+0100) Subject: Reverse argument --redact-password : print passwords in settings if set X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=418e06394e33a7f0e358581e1140af4438be0f02;p=gamesguru%2Fgetmyancestors.git Reverse argument --redact-password : print passwords in settings if set --- diff --git a/getmyancestors.py b/getmyancestors.py index 1ec8c0b..b9ca1d8 100755 --- a/getmyancestors.py +++ b/getmyancestors.py @@ -949,7 +949,7 @@ if __name__ == '__main__': username if action.dest is 'u' else '******' - if action.dest is 'p' and args.redact_password + if action.dest is 'p' and not args.redact_password else password if action.dest is 'p' else str(vars(args)[action.dest].name)