aboutsummaryrefslogtreecommitdiff
path: root/ponysay.py
diff options
context:
space:
mode:
Diffstat (limited to 'ponysay.py')
-rwxr-xr-xponysay.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ponysay.py b/ponysay.py
index 63dcac3..19617f1 100755
--- a/ponysay.py
+++ b/ponysay.py
@@ -80,6 +80,7 @@ class Ponysay():
def __init__(self, args):
if (args.argcount == 0) and not pipelinein:
args.help()
+ exit(254)
return
## Modifyable global variables
@@ -154,6 +155,8 @@ class Ponysay():
self.print_pony(args)
else:
args.help()
+ exit(255)
+ return
##############################################