diff options
-rw-r--r-- | contrib/splicex/src/splicex.pyx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/splicex/src/splicex.pyx b/contrib/splicex/src/splicex.pyx index 22c4f32..1e7e271 100644 --- a/contrib/splicex/src/splicex.pyx +++ b/contrib/splicex/src/splicex.pyx @@ -275,6 +275,9 @@ for arg in sys.argv: DebugSwitch = True elif '--help' in arg: sys.exit(HELP()) + else: + if arg != '/usr/bin/splicex': + sys.exit(SpliceX + 'error: invalid argument: ' + arg) if DebugSwitch is False: sys.tracebacklimit = 0 |