diff --git a/po/check_po b/po/check_po index a309c99d8..47a3e4d27 100755 --- a/po/check_po +++ b/po/check_po @@ -569,7 +569,7 @@ def main(): parser = ArgumentParser( description='This program validates a PO file for GRAMPS.') - parser.add_argument("-s", "--summary", dest="summary", + parser.add_argument("-s", dest="summary", choices=[file for file in os.listdir('.') if file.endswith('.po')], default=False, help="only give the summary")