tech-pkg archive

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

Fixing the usage screen for pkg_add



                Hi tech-pkg@, joerg@,

I just noticed that the usage screen for pkg_add contains a ghost option
("-s" which has been replaced four years ago). Is it fine to commit this?

Just to be sure; if clear to commit then the procedure is:
- commit in pkgsrc's pkgtools/pkg_install/files
- import in src's external/bsd/pkg_install/dist

Am I right?

HTH,
-- 
khorben
From: Pierre Pronchery <khorben%EdgeBSD.org@localhost>
Date: Wed, 2 Oct 2013 19:17:54 +0000 (+0200)
Subject: Fixed the usage screen (the "-s" option does not exist)
X-Git-Url: 
http://git.edgebsd.org/gitweb/?p=edgebsd-pkgsrc.git;a=commitdiff_plain;h=09f35c1c4db8762abb433ca62f0992e4555c8c33;hp=08d42f226f0cb5de651be1a5064feb328f897aec

Fixed the usage screen (the "-s" option does not exist)
---

diff --git a/pkgtools/pkg_install/files/add/main.c 
b/pkgtools/pkg_install/files/add/main.c
index 1b42d0b..d07d0b9 100644
--- a/pkgtools/pkg_install/files/add/main.c
+++ b/pkgtools/pkg_install/files/add/main.c
@@ -69,8 +69,7 @@ usage(void)
 {
        (void) fprintf(stderr, "%s\n%s\n%s\n%s\n",
            "usage: pkg_add [-AfhILnRuVv] [-C config] [-P destdir] [-K 
pkg_dbdir]",
-           "               [-m machine] [-p prefix] [-s verification-type",
-           "               [-W viewbase] [-w view]\n",
+           "               [-m machine] [-p prefix] [-W viewbase] [-w view]\n",
            "               
[[ftp|http]://[user[:password]@]host[:port]][/path/]pkg-name ...");
        exit(1);
 }


Home | Main Index | Thread Index | Old Index