diff --git a/netem.py b/netem.py
index 6ae0d6642cf9177184c9b71ff90d4259a694205f..1e3456f80a3876d70c78ee83966b3abf52eca751 100755
--- a/netem.py
+++ b/netem.py
@@ -28,12 +28,16 @@ parser.add_argument('-L', '--loss',
 
 args = parser.parse_args()
 
+errs = False
 if args.device is None:
-    print STDERR, 'You must specify a device with --device.'
-    exit 1
+    print 'You must specify a device with --device.'
+    errs = True
 if args.namespace is None:
-    print STDERR, 'You must specify a network namespace with --namespace.'
-    exit 1
+    print 'You must specify a network namespace with --namespace.'
+    errs = True
+if errs:
+    print 'Run with --help for invocation syntax'
+    exit(1)
 
 # Enable network emulation on the device.
 cmd = ["sudo", "/sbin/ip",