3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-01-11 12:32:37 +01:00

modules/wiktionary.pl: always show all entries

This commit is contained in:
Pragmatic Software 2021-10-19 21:01:45 -07:00
parent 8dd1a4bc3d
commit abd6abcc6c

View File

@ -62,6 +62,8 @@ my ($term, $lang, $section, $num, $all, $unique, $opt_e, $opt_p);
$lang //= 'English'; $lang //= 'English';
$section //= 'definitions'; $section //= 'definitions';
$all //= 1;
if ($opt_p and $opt_e) { if ($opt_p and $opt_e) {
print "Options -e and -p cannot be used together.\n"; print "Options -e and -p cannot be used together.\n";
exit 1; exit 1;