- parser.add_option("--no-cleanup", dest="cleanup", default=True,
- help="Don't cleanup sensitive data before extracting the image",
- action="store_false")
+ parser.add_option("-o", "--outfile", type="string", dest="outfile",
+ default=None, action="callback", callback=check_writable_dir,
+ help="dump image to FILE", metavar="FILE")
+
+ parser.add_option("-s", "--silent", dest="silent", default=False,
+ help="silent mode, only output error", action="store_true")