diff options
author | jbj <devnull@localhost> | 1999-05-06 23:21:08 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-05-06 23:21:08 +0000 |
commit | 331076d9a13f4625650fbde1f517b8320ab5a432 (patch) | |
tree | c774dc7048f23980b6e9775e6c6e59bb4544a936 /rpm.c | |
parent | 5df8ebee630e9cbc6dfaea72925a7be596bd44f3 (diff) | |
download | rpm-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-x | rpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}, |