Changeset 28:9afaa509f383 in stamper for bin/stamps
- Timestamp:
- Aug 8, 2014, 9:00:43 AM (10 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bin/stamps
r23 r28 19 19 parser.add_argument('-g', '--graph', action="store_true", 20 20 help='Generate a SVG graph') 21 parser.add_argument('-t', '--timeline', action="store_true", 22 help='Show a timeline of recorded times') 21 23 22 24 args = parser.parse_args() … … 24 26 s = Stamper() 25 27 s.load_stamps() 26 s.show_stamps(args.customer, args.filter, args.verbose, args.sum, 27 args.graph) 28 if args.timeline: 29 s.timeline() 30 else: 31 s.show_stamps(args.customer, args.filter, args.verbose, args.sum, 32 args.graph)
Note:
See TracChangeset
for help on using the changeset viewer.