Deleted Added
full compact
main.c (159554) main.c (162803)
1/*
2 * FreeBSD install - a package for the installation and maintainance
3 * of non-core utilities.
4 *
5 * Jordan K. Hubbard
6 * 18 July 1993
7 *
8 * This is the create module.
9 *
10 */
11
12#include <sys/cdefs.h>
1/*
2 * FreeBSD install - a package for the installation and maintainance
3 * of non-core utilities.
4 *
5 * Jordan K. Hubbard
6 * 18 July 1993
7 *
8 * This is the create module.
9 *
10 */
11
12#include <sys/cdefs.h>
13__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/create/main.c 159554 2006-06-12 22:39:32Z obrien $");
13__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/create/main.c 162803 2006-09-29 17:23:14Z ru $");
14
15#include <err.h>
16#include "lib.h"
17#include "create.h"
18
19static char Options[] = "EGYNORhjvxyzf:p:P:C:c:d:i:I:k:K:r:t:X:D:m:s:S:o:b:";
20
21match_t MatchType = MATCH_GLOB;

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

223 else
224 return 0;
225}
226
227static void
228usage()
229{
230 fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n%s\n",
14
15#include <err.h>
16#include "lib.h"
17#include "create.h"
18
19static char Options[] = "EGYNORhjvxyzf:p:P:C:c:d:i:I:k:K:r:t:X:D:m:s:S:o:b:";
20
21match_t MatchType = MATCH_GLOB;

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

223 else
224 return 0;
225}
226
227static void
228usage()
229{
230 fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n%s\n",
231"usage: pkg_create [-YNOhvyz] [-P pkgs] [-C conflicts] [-p prefix] ",
232" [-i iscript] [-I piscript] [-k dscript] [-K pdscript] ",
233" [-r rscript] [-t template] [-X excludefile] ",
234" [-D displayfile] [-m mtreefile] [-o origin] ",
235" [-s srcdir] [-S basedir] ",
231"usage: pkg_create [-YNOhjvyz] [-C conflicts] [-P pkgs] [-p prefix]",
232" [-i iscript] [-I piscript] [-k dscript] [-K pdscript]",
233" [-r rscript] [-s srcdir] [-S basedir]",
234" [-t template] [-X excludefile]",
235" [-D displayfile] [-m mtreefile] [-o originpath]",
236" -c comment -d description -f packlist pkg-filename",
236" -c comment -d description -f packlist pkg-filename",
237" pkg_create [-EGYNhvxyzR] -b pkg-name [pkg-filename]");
237" pkg_create [-EGYNRhvxy] -b pkg-name [pkg-filename]");
238 exit(1);
239}
238 exit(1);
239}