Commit f3bf5570 authored by Martin Steghöfer's avatar Martin Steghöfer Committed by Thomas Daede

Make it clear in documentation that -f needs a previous -d.

Bug-Debian: https://bugs.debian.org/359948
Forwarded: https://trac.xiph.org/ticket/1679

The -f option to specify an output file name works only if a file device has previously been specified using the -d option. Some parts of the documentation don't make it very explicit that -f needs -d and that the -d option has to precede the -f option.
parent 98a83487
......@@ -140,7 +140,7 @@ int parse_cmdline_options (int argc, char **argv,
exit(1);
}
} else {
status_error(_("=== Cannot specify output file without specifying a driver.\n"));
status_error(_("=== Cannot specify output file without previously specifying a driver.\n"));
exit (1);
}
break;
......
......@@ -69,7 +69,8 @@ Specify output device. See
.B DEVICES
section for a list of devices. Any number of devices may be specified.
.IP "-f filename, --file filename"
Specify output file for file devices. The filename "-" writes to standard
Specify output file for a file device previously specified with
--device. The filename "-" writes to standard
out. If the file already exists,
.B ogg123
will overwrite it.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment