1. Miki Tebeka
  2. pythonwise

Commits

Miki Tebeka  committed f346bb3

Fix --test

  • Participants
  • Parent commits a782937
  • Branches default

Comments (0)

Files changed (1)

File summarize.py

View file
         help='file to summarize (stdin will be used otherwise)')
     parser.add_argument('-s', '--size', help='Size of summary',
                         default=MAX_SUMMARY_SIZE, type=int)
-    parser.add_argument('--test', help='test')
+    parser.add_argument('--test', help='test', action='store_true',
+                        default=False)
     args = parser.parse_args(argv[1:])
 
     if args.test: