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?

From: Pierre Pronchery <>
Date: Wed, 2 Oct 2013 19:17:54 +0000 (+0200)
Subject: Fixed the usage screen (the "-s" option does not exist)

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

diff --git a/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 
-           "               [-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 ...");

Home | Main Index | Thread Index | Old Index