Browse Source

Require decode output file name until safe alternative decided upon

master
surkeh 3 years ago
parent
commit
137ae8fc5d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main.c

+ 1
- 1
src/main.c View File

@@ -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