From 1654dee62ee0a1e3868d5010aceb1332746db11f Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Tue, 16 Apr 2019 08:33:41 -0400 Subject: [PATCH] re-enable IndexError --- src/gam.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gam.py b/src/gam.py index 612e6d2e..bb76c5f1 100755 --- a/src/gam.py +++ b/src/gam.py @@ -14009,9 +14009,9 @@ def ProcessGAMCommand(args): systemErrorExit(2, '%s is not a valid argument for "gam watch"' % watchWhat) else: systemErrorExit(2, '%s is not a valid argument for "gam"' % command) - #except IndexError: - # showUsage() - # sys.exit(2) + except IndexError: + showUsage() + sys.exit(2) except KeyboardInterrupt: sys.exit(50) except socket.error as e: