Browse Source

Require decode output file name until safe alternative decided upon

master
surkeh 5 years ago
parent
commit
137ae8fc5d
  1. 2
      src/main.c

2
src/main.c

@ -311,7 +311,7 @@ int arguments (int ac, char **av) { @@ -311,7 +311,7 @@ int arguments (int ac, char **av) {
fprintf (stderr, "error: no input file given\n");
return MODE_HELP;
}
if (mode == MODE_ENCODE && strlen (pb_outfile) == 0) {
if (strlen (pb_outfile) == 0) {
fprintf (stderr, "error: no output file given\n");
return MODE_HELP;
}

Loading…
Cancel
Save