mdiff: Add missing exit for --help.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-11-10 15:17:32 -08:00 committed by Anders Kaseorg
parent 9c6e261861
commit da749d1c94
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ if (require.main === module) {
"\n" + "\n" +
"Where string_0 and string_1 are the strings to be diffed", "Where string_0 and string_1 are the strings to be diffed",
); );
process.exit(0);
} }
const output = diff_strings(argv._[0], argv._[1]); const output = diff_strings(argv._[0], argv._[1]);