mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-30 12:57:09 +02:00
Add --print-tokens long option to dump Remind tokens to stdout.
This commit is contained in:
@@ -1067,6 +1067,12 @@ ProcessLongOption(char const *arg)
|
||||
printf("%s\n", VERSION);
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
if (!strcmp(arg, "print-tokens")) {
|
||||
print_remind_tokens();
|
||||
print_builtinfunc_tokens();
|
||||
print_sysvar_tokens();
|
||||
exit(0);
|
||||
}
|
||||
if (sscanf(arg, "max-execution-time=%d", &t) == 1) {
|
||||
if (t < 0) {
|
||||
fprintf(ErrFp, "%s: --max-execution-time must be non-negative\n", ArgV[0]);
|
||||
|
||||
Reference in New Issue
Block a user