feedback: abort when user tries to open multiple files in tiny version

This fixes https://savannah.gnu.org/bugs/?56227.
master
Benno Schulenberg 2020-11-17 19:03:29 +01:00
parent 5918ca6cab
commit 925a1a11f9
1 changed files with 3 additions and 0 deletions

View File

@ -2519,6 +2519,9 @@ int main(int argc, char **argv)
if (ISSET(VIEW_MODE))
SET(MULTIBUFFER);
}
#else
if (optind < argc)
die(_("Can open just one file\n"));
#endif
prepare_for_display();