Changeset 22:43d14913e8fd in stamper for bin


Ignore:
Timestamp:
Jul 23, 2014, 2:03:55 PM (10 years ago)
Author:
Óscar M. Lage <info@…>
Branch:
default
Phase:
public
Message:

Added -s option to sum all the times and show a resume

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/stamps

    r10 r22  
    1515    parser.add_argument('-v', '--verbose', action="store_true",
    1616                        help='Include detailed times information')
     17    parser.add_argument('-s', '--sum', action="store_true",
     18                        help='Include sum of times')
    1719
    1820    args = parser.parse_args()
     
    2022    s = Stamper()
    2123    s.load_stamps()
    22     s.show_stamps(args.customer, args.filter, args.verbose)
     24    s.show_stamps(args.customer, args.filter, args.verbose, args.sum)
Note: See TracChangeset for help on using the changeset viewer.