summaryrefslogtreecommitdiff
path: root/rpm.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-05-06 23:21:08 +0000
committerjbj <devnull@localhost>1999-05-06 23:21:08 +0000
commit331076d9a13f4625650fbde1f517b8320ab5a432 (patch)
treec774dc7048f23980b6e9775e6c6e59bb4544a936 /rpm.c
parent5df8ebee630e9cbc6dfaea72925a7be596bd44f3 (diff)
downloadrpm-331076d9a13f4625650fbde1f517b8320ab5a432.tar.gz
rpm-331076d9a13f4625650fbde1f517b8320ab5a432.tar.bz2
rpm-331076d9a13f4625650fbde1f517b8320ab5a432.zip
Add argument to specedit to choose between specs and powertools packages.
CVS patchset: 3051 CVS date: 1999/05/06 23:21:08
Diffstat (limited to 'rpm.c')
-rwxr-xr-xrpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpm.c b/rpm.c
index 4b719d5b6..cfe3c79fe 100755
--- a/rpm.c
+++ b/rpm.c
@@ -68,7 +68,7 @@ static int replacePackages;
static char * rootdir;
static int showrc;
static int signIt;
- int specedit = 0;
+ char *specedit = NULL;
static int test;
static int rpm_version;
@@ -133,7 +133,7 @@ static struct poptOption optionsTable[] = {
{ "root", 'r', POPT_ARG_STRING, &rootdir, 0, NULL, NULL},
{ "showrc", '\0', 0, &showrc, GETOPT_SHOWRC, NULL, NULL},
{ "sign", '\0', 0, &signIt, 0, NULL, NULL},
- { "specedit", '\0', 0, &specedit, 0, NULL, NULL},
+ { "specedit", '\0', POPT_ARG_STRING, &specedit, 0, NULL, NULL},
{ "tarball", 't', POPT_ARG_STRING, 0, 't', NULL, NULL},
{ "test", '\0', 0, &test, 0, NULL, NULL},
{ "timecheck", '\0', POPT_ARG_STRING, 0, GETOPT_TIMECHECK, NULL, NULL},