update usage

This commit is contained in:
Kelvin Sherlock 2019-09-01 17:20:08 -04:00
parent b602a82cc6
commit 0789568d06
1 changed files with 7 additions and 1 deletions

View File

@ -156,7 +156,13 @@ def encode_string(s):
def usage(ex=1):
print("Usage: string_compiler [-i] name [file]")
print("Usage: string_compiler [-cilvE] [-o output_file] function_name [input_file]")
print(" -c add implicit 0-terminator to strings")
print(" -i case insensitive")
print(" -l include string length in lsb of return value")
print(" -v be verbose")
print(" -E use c pre-processor")
print(" -o output_file specify output file")
sys.exit(ex)