feedback: abort when user tries to open multiple files in tiny version
This fixes https://savannah.gnu.org/bugs/?56227.master
parent
5918ca6cab
commit
925a1a11f9
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue