Meta: Add help to generate_python_encoding_indexes.py
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

This commit is contained in:
ayeteadoe 2025-06-26 20:09:56 -07:00 committed by Shannon Booth
commit 1a3a9eee7a
Notes: github-actions[bot] 2025-06-30 02:05:03 +00:00

View file

@ -215,9 +215,17 @@ namespace TextCodec {
def main():
parser = argparse.ArgumentParser(description="Generate text codec lookup tables", add_help=False)
parser.add_argument("-h", required=True)
parser.add_argument("-c", required=True)
parser.add_argument("-j", required=True)
parser.add_argument("-H", action="help", help="Show this help message and exit")
parser.add_argument(
"-h", "-generated-header-path", required=True, help="Path to the lookup table header file to generate"
)
parser.add_argument(
"-c",
"-generated_implementation_path",
required=True,
help="Path to the lookup table implementation file to generate",
)
parser.add_argument("-j", "-json-path", required=True, help="Path to the JSON file to read from")
args = parser.parse_args()