[Piglit] [PATCH 1/6] Revert "piglit: Print help instead of excepting if no arguments are given"

Dylan Baker dylan at pnwbakers.com
Fri Aug 26 20:11:47 UTC 2016


This reverts commit da99d336fa6dedb378affdf50dea163939e8c8a1.

Which completely breaks the ./piglit command. I'll try a different
approach. sigh

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 piglit | 1 -
 1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/piglit b/piglit
index 4bc7555..05fff14 100755
--- a/piglit
+++ b/piglit
@@ -121,7 +121,6 @@ def main():
         input_ = sys.argv[1:]
 
     parser = argparse.ArgumentParser()
-    parser.set_defaults(func=lambda *_, **__: parser.print_help())
     subparsers = parser.add_subparsers()
     print_cmd = subparsers.add_parser('print-cmd',
                                       add_help=False,
-- 
git-series 0.8.10


More information about the Piglit mailing list