Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/pkg_install/create Pull up revision 1.17 (requ...
details: https://anonhg.NetBSD.org/src/rev/c6c9d59a27c0
branches: netbsd-1-5
changeset: 490912:c6c9d59a27c0
user: he <he%NetBSD.org@localhost>
date: Tue Mar 20 17:59:44 2001 +0000
description:
Pull up revision 1.17 (requested by hubertf):
Various changes / updates:
o add -V option to determine version
diffstat:
usr.sbin/pkg_install/create/main.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diffs (46 lines):
diff -r 3f68c9c03c65 -r c6c9d59a27c0 usr.sbin/pkg_install/create/main.c
--- a/usr.sbin/pkg_install/create/main.c Tue Mar 20 17:59:06 2001 +0000
+++ b/usr.sbin/pkg_install/create/main.c Tue Mar 20 17:59:44 2001 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: main.c,v 1.16 1999/12/20 03:25:58 hubertf Exp $ */
+/* $NetBSD: main.c,v 1.16.4.1 2001/03/20 17:59:44 he Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static const char *rcsid = "from FreeBSD Id: main.c,v 1.17 1997/10/08 07:46:23 charnier Exp";
#else
-__RCSID("$NetBSD: main.c,v 1.16 1999/12/20 03:25:58 hubertf Exp $");
+__RCSID("$NetBSD: main.c,v 1.16.4.1 2001/03/20 17:59:44 he Exp $");
#endif
#endif
@@ -24,7 +24,7 @@
#include "lib.h"
#include "create.h"
-static char Options[] = "ORhlvFf:p:P:C:c:d:i:k:L:r:t:X:D:m:s:S:b:B:";
+static char Options[] = "ORhlVvFf:p:P:C:c:d:i:k:L:r:t:X:D:m:s:S:b:B:";
char *Prefix = NULL;
char *Comment = NULL;
@@ -55,7 +55,7 @@
usage(void)
{
fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n",
- "usage: pkg_create [-ORhlv] [-P dpkgs] [-C cpkgs] [-p prefix] [-f contents]",
+ "usage: pkg_create [-ORhlVv] [-P dpkgs] [-C cpkgs] [-p prefix] [-f contents]",
" [-i iscript] [-k dscript] [-r rscript] [-t template]",
" [-X excludefile] [-D displayfile] [-m mtreefile]",
" [-b build-version-file] [-B build-info-file]",
@@ -164,6 +164,10 @@
BuildInfo = optarg;
break;
+ case 'V':
+ show_version();
+ /* NOTREACHED */
+
case '?':
default:
usage();
Home |
Main Index |
Thread Index |
Old Index