tools: syscall_header_gen: print an error to stderr that wasn't

This commit is contained in:
Corey Richardson 2016-01-25 15:45:34 +11:00
parent 41d98e45c0
commit 4b043d767f
No known key found for this signature in database
GPG key ID: 990278AD76243314

View file

@ -113,7 +113,8 @@ def parse_args():
result = parser.parse_args()
if result.kernel_header is None and result.libsel4_header is None:
print("Error: must provide either kernel_header or libsel4_header")
print("Error: must provide either kernel_header or libsel4_header",
file=sys.stderr)
parser.print_help()
exit(-1)