[PATCH] D15370: [scan-view] replace deprecated optparse with argparse

Anna Zaks via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 11 21:13:07 PST 2015


zaks.anna added a comment.

Overall, looks good!


================
Comment at: tools/scan-view/bin/scan-view:94
@@ +93,3 @@
+    import argparse
+    parser = argparse.ArgumentParser()
+    parser.add_argument("root", metavar="<results directory>", type=str)
----------------
Please, add the tool description, like "The clang static analyzer results viewer."


http://reviews.llvm.org/D15370





More information about the cfe-commits mailing list