mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-11 03:39:26 +00:00
sort options as usual in our operating system; `usage:' is lower case;
improve usage()'s output; better indentation in usage() function. ok jakemsr@
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
.\"
|
||||
.\"
|
||||
.Dd $Mdocdate: July 23 2010 $
|
||||
.Dd $Mdocdate: July 26 2010 $
|
||||
.Dt VIDEO 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@@ -29,8 +29,8 @@
|
||||
.Op Fl e Ar encoding
|
||||
.Op Fl f Ar file
|
||||
.Op Fl i Ar input
|
||||
.Op Fl o Ar output
|
||||
.Op Fl O Ar output
|
||||
.Op Fl o Ar output
|
||||
.Op Fl r Ar rate
|
||||
.Op Fl s Ar size
|
||||
.Ek
|
||||
@@ -106,13 +106,6 @@ If
|
||||
is
|
||||
.Ql - ,
|
||||
frames will be read from standard input.
|
||||
.It Fl o Ar ouput
|
||||
File to which frames will be written.
|
||||
If
|
||||
.Ar output
|
||||
is
|
||||
.Ql - ,
|
||||
frames will be written to standard output.
|
||||
.It Fl O Ar ouput
|
||||
File to which frames will be written.
|
||||
If
|
||||
@@ -126,6 +119,13 @@ if this option is used,
|
||||
.Nm
|
||||
will also display the frames via
|
||||
.Xr Xv 3 .
|
||||
.It Fl o Ar ouput
|
||||
File to which frames will be written.
|
||||
If
|
||||
.Ar output
|
||||
is
|
||||
.Ql - ,
|
||||
frames will be written to standard output.
|
||||
.It Fl r Ar rate
|
||||
Rate in frames per second at which to read.
|
||||
Must be an integer greater than 0.
|
||||
|
||||
@@ -196,11 +196,10 @@ extern char *__progname;
|
||||
void
|
||||
usage(void)
|
||||
{
|
||||
fprintf(stderr,
|
||||
"Usage: %s [-v] [-a adaptor] [-e encoding] [-f file]\n"
|
||||
" [-i input] [-o output] [-O output] [-r rate]\n"
|
||||
" [-s size]\n",
|
||||
__progname);
|
||||
fprintf(stderr, "usage: %s [-v] "
|
||||
"[-a adaptor] [-e encoding] [-f file] [-i input] [-O output]\n"
|
||||
" %*s [-o output] [-r rate] [-s size]\n", __progname,
|
||||
(int)strlen(__progname), "");
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user