quick_dump: Refactor to allow future code
authorBen Widawsky <benjamin.widawsky@intel.com>
Fri, 31 Jan 2014 04:42:50 +0000 (04:42 +0000)
committerBen Widawsky <benjamin.widawsky@intel.com>
Sun, 2 Feb 2014 09:48:54 +0000 (10:48 +0100)
commit8ce7c366d7d2903aa66161d836bd1295a8d3a806
treef8ec06a1755eb4b34327ce249c9fa605f5474c40
parent48ad03ca0c5f078b8d12a64323fd93b3858041af
quick_dump: Refactor to allow future code

Extract everything possible, and create a main function which is pretty
darn simple. The goal is to make the various paths the program can take
based on command line options (one more is coming) more decipherable.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
tools/quick_dump/quick_dump.py