Sort options in man page SYNOPSIS and sync usage with it.
Bump date.
This commit is contained in:
parent
0c1215940c
commit
4bdac686eb
@ -1,5 +1,5 @@
|
|||||||
.\" $NetBSD: units.1,v 1.19 2013/01/01 11:51:55 apb Exp $
|
.\" $NetBSD: units.1,v 1.20 2013/01/06 00:19:13 wiz Exp $
|
||||||
.Dd December 28, 2012
|
.Dd January 6, 2013
|
||||||
.Dt UNITS 1
|
.Dt UNITS 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -7,8 +7,8 @@
|
|||||||
.Nd conversion program
|
.Nd conversion program
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
|
.Op Fl Llqv
|
||||||
.Op Fl f Ar filename
|
.Op Fl f Ar filename
|
||||||
.Op Fl lLqv
|
|
||||||
.Oo
|
.Oo
|
||||||
.Op Ar count
|
.Op Ar count
|
||||||
.Ar from-unit to-unit
|
.Ar from-unit to-unit
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: units.c,v 1.23 2013/01/02 14:05:04 apb Exp $ */
|
/* $NetBSD: units.c,v 1.24 2013/01/06 00:19:13 wiz Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* units.c Copyright (c) 1993 by Adrian Mariano (adrian@cam.cornell.edu)
|
* units.c Copyright (c) 1993 by Adrian Mariano (adrian@cam.cornell.edu)
|
||||||
@ -794,8 +794,10 @@ static void
|
|||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"\nunits [-f unitsfile] [-q] [-v] [from-unit to-unit]\n");
|
"\nunits [-Llqv] [-f filename] [[count] from-unit to-unit]\n");
|
||||||
fprintf(stderr, "\n -f specify units file\n");
|
fprintf(stderr, "\n -f specify units file\n");
|
||||||
|
fprintf(stderr, " -L list units in standardized base units\n");
|
||||||
|
fprintf(stderr, " -l list units\n");
|
||||||
fprintf(stderr, " -q suppress prompting (quiet)\n");
|
fprintf(stderr, " -q suppress prompting (quiet)\n");
|
||||||
fprintf(stderr, " -v print version number\n");
|
fprintf(stderr, " -v print version number\n");
|
||||||
exit(3);
|
exit(3);
|
||||||
|
Loading…
Reference in New Issue
Block a user