arg_parser.add_argument('infile',help='file or - for stdin (default: -) with "otpauth-migration://..." URLs separated by newlines, lines starting with # are ignored')
arg_parser.add_argument('--json','-j',help='export to json file',metavar=('FILE'))
arg_parser.add_argument('--csv','-c',help='export to csv file',metavar=('FILE'))
arg_parser.add_argument('--printqr','-p',help='print QR code(s) as text to the terminal (requires qrcode module)',action='store_true')
arg_parser.add_argument('--saveqr','-s',help='save QR code(s) as images to the given folder (requires qrcode module)',metavar=('DIR'))
arg_parser.add_argument('--saveqr','-s',help='save QR code(s) as images to the "qr" subfolder (requires qrcode module)',action='store_true')
arg_parser.add_argument('--printqr','-p',help='print QR code(s) as text to the terminal (requires qrcode module)',action='store_true')
arg_parser.add_argument('--json','-j',help='export to json file')
arg_parser.add_argument('--csv','-c',help='export to csv file')
arg_parser.add_argument('infile',help='file or - for stdin (default: -) with "otpauth-migration://..." URLs separated by newlines, lines starting with # are ignored')
args=arg_parser.parse_args(sys_args)
ifargs.verboseandargs.quiet:
print("The arguments --verbose and --quite are mutual exclusive.")