Deleted Added
full compact
main.c (156497) main.c (159554)
1/*
2 *
3 * FreeBSD install - a package for the installation and maintainance
4 * of non-core utilities.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 5 unchanged lines hidden (view full) ---

14 *
15 * Jordan K. Hubbard
16 * 18 July 1993
17 *
18 * This is the add module.
19 */
20
21#include <sys/cdefs.h>
1/*
2 *
3 * FreeBSD install - a package for the installation and maintainance
4 * of non-core utilities.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 5 unchanged lines hidden (view full) ---

14 *
15 * Jordan K. Hubbard
16 * 18 July 1993
17 *
18 * This is the add module.
19 */
20
21#include <sys/cdefs.h>
22__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/add/main.c 156497 2006-03-09 14:49:19Z phk $");
22__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/add/main.c 159554 2006-06-12 22:39:32Z obrien $");
23
24#include <err.h>
25#include <sys/param.h>
26#include <sys/utsname.h>
27#include "lib.h"
28#include "add.h"
29
30static char Options[] = "hvIRfFnrp:P:SMt:C:K";

--- 72 unchanged lines hidden (view full) ---

103 PkgAddCmd = realpath(argv[0], pkgaddpath);
104 else
105 PkgAddCmd = argv[0];
106
107 start = argv;
108 while ((ch = getopt(argc, argv, Options)) != -1) {
109 switch(ch) {
110 case 'v':
23
24#include <err.h>
25#include <sys/param.h>
26#include <sys/utsname.h>
27#include "lib.h"
28#include "add.h"
29
30static char Options[] = "hvIRfFnrp:P:SMt:C:K";

--- 72 unchanged lines hidden (view full) ---

103 PkgAddCmd = realpath(argv[0], pkgaddpath);
104 else
105 PkgAddCmd = argv[0];
106
107 start = argv;
108 while ((ch = getopt(argc, argv, Options)) != -1) {
109 switch(ch) {
110 case 'v':
111 Verbose = TRUE;
111 Verbose++;
112 break;
113
114 case 'p':
115 Prefix = optarg;
116 PrefixRecursive = FALSE;
117 break;
118
119 case 'P':

--- 213 unchanged lines hidden ---
112 break;
113
114 case 'p':
115 Prefix = optarg;
116 PrefixRecursive = FALSE;
117 break;
118
119 case 'P':

--- 213 unchanged lines hidden ---