Sort options in man page SYNOPSIS and sync usage with it.

Bump date.
This commit is contained in:
wiz 2013-01-06 00:19:13 +00:00
parent 0c1215940c
commit 4bdac686eb
2 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,5 @@
.\" $NetBSD: units.1,v 1.19 2013/01/01 11:51:55 apb Exp $
.Dd December 28, 2012
.\" $NetBSD: units.1,v 1.20 2013/01/06 00:19:13 wiz Exp $
.Dd January 6, 2013
.Dt UNITS 1
.Os
.Sh NAME
@ -7,8 +7,8 @@
.Nd conversion program
.Sh SYNOPSIS
.Nm
.Op Fl Llqv
.Op Fl f Ar filename
.Op Fl lLqv
.Oo
.Op Ar count
.Ar from-unit to-unit

View File

@ -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)
@ -794,8 +794,10 @@ static void
usage(void)
{
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, " -L list units in standardized base units\n");
fprintf(stderr, " -l list units\n");
fprintf(stderr, " -q suppress prompting (quiet)\n");
fprintf(stderr, " -v print version number\n");
exit(3);