mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-05 01:10:24 +00:00
Meta: Add help to generate_python_encoding_indexes.py
This commit is contained in:
Notes:
github-actions[bot]
2025-06-30 02:05:03 +00:00
Author: https://github.com/ayeteadoe Commit: https://github.com/LadybirdBrowser/ladybird/commit/1a3a9eee7aa Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5227 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/shannonbooth ✅
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user