Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/mkdep Sort options.



details:   https://anonhg.NetBSD.org/src/rev/4ce371d25bb7
branches:  trunk
changeset: 586292:4ce371d25bb7
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Dec 12 22:49:37 2005 +0000

description:
Sort options.

diffstat:

 usr.bin/mkdep/mkdep.1 |  11 ++++++-----
 usr.bin/mkdep/mkdep.c |   8 ++++----
 2 files changed, 10 insertions(+), 9 deletions(-)

diffs (72 lines):

diff -r 6e43370763f7 -r 4ce371d25bb7 usr.bin/mkdep/mkdep.1
--- a/usr.bin/mkdep/mkdep.1     Mon Dec 12 22:47:36 2005 +0000
+++ b/usr.bin/mkdep/mkdep.1     Mon Dec 12 22:49:37 2005 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mkdep.1,v 1.13 2005/12/12 22:05:28 dsl Exp $
+.\"    $NetBSD: mkdep.1,v 1.14 2005/12/12 22:49:37 wiz Exp $
 .\"
 .\" Copyright (c) 1987, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -37,7 +37,7 @@
 .Nd construct Makefile dependency list
 .Sh SYNOPSIS
 .Nm
-.Op Fl adDopq
+.Op Fl aDdopq
 .Op Fl f Ar file
 .Op Fl s Ar suffixes
 .Li --
@@ -67,13 +67,14 @@
 so that multiple
 .Nm Ns 's
 may be run from a single Makefile.
-.It Fl d
-Post process and merge previously created (for example by 'cc -MD x.c') depend
-files into a single file.
 .It Fl D
 Post process (as
 .Fl d )
 but read the list of filenames from stdin.
+.It Fl d
+Post process and merge previously created (for example by
+.Dq cc -MD x.c )
+depend files into a single file.
 .It Fl f
 Write the include file dependencies to
 .Ar file ,
diff -r 6e43370763f7 -r 4ce371d25bb7 usr.bin/mkdep/mkdep.c
--- a/usr.bin/mkdep/mkdep.c     Mon Dec 12 22:47:36 2005 +0000
+++ b/usr.bin/mkdep/mkdep.c     Mon Dec 12 22:49:37 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mkdep.c,v 1.25 2005/12/12 22:05:28 dsl Exp $ */
+/* $NetBSD: mkdep.c,v 1.26 2005/12/12 22:49:37 wiz Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
 #if !defined(lint)
 __COPYRIGHT("@(#) Copyright (c) 1999 The NetBSD Foundation, Inc.\n\
        All rights reserved.\n");
-__RCSID("$NetBSD: mkdep.c,v 1.25 2005/12/12 22:05:28 dsl Exp $");
+__RCSID("$NetBSD: mkdep.c,v 1.26 2005/12/12 22:49:37 wiz Exp $");
 #endif /* not lint */
 
 #include <sys/mman.h>
@@ -98,7 +98,7 @@
 usage(void)
 {
        (void)fprintf(stderr,
-           "usage: %s [-adDopq] [-f file] [-s suffixes] -- [flags] file ...\n",
+           "usage: %s [-aDdopq] [-f file] [-s suffixes] -- [flags] file ...\n",
            getprogname());
        exit(EXIT_FAILURE);
 }
@@ -217,7 +217,7 @@
        opterr = 0;     /* stop getopt() bleating about errors. */
        for (;;) {
                ok_ind = optind;
-               ch = getopt(argc, argv, "adDf:opqs:");
+               ch = getopt(argc, argv, "aDdf:opqs:");
                switch (ch) {
                case -1:
                        ok_ind = optind;



Home | Main Index | Thread Index | Old Index