/[gentoo-projects]/portage-utils/template.c
Gentoo

Contents of /portage-utils/template.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download) (as text)
Thu Jan 5 03:35:43 2006 UTC (8 years, 11 months ago) by vapier
Branch: MAIN
Changes since 1.6: +5 -5 lines
File MIME type: text/x-csrc
update copyright years

1 /*
2 * Copyright 2005-2006 Gentoo Foundation
3 * Distributed under the terms of the GNU General Public License v2
4 * $Header: /var/cvsroot/gentoo-projects/portage-utils/template.c,v 1.6 2005/12/11 18:58:13 solar Exp $
5 *
6 * Copyright 2005-2006 Ned Ludd - <solar@gentoo.org>
7 * Copyright 2005-2006 Mike Frysinger - <vapier@gentoo.org>
8 */
9
10 #define QTEMP_FLAGS "" COMMON_FLAGS
11 static struct option const qtemp_long_opts[] = {
12 COMMON_LONG_OPTS
13 };
14 static const char *qtemp_opts_help[] = {
15 COMMON_OPTS_HELP
16 };
17
18 static const char qtemp_rcsid[] = "$Id: template.c,v 1.6 2005/12/11 18:58:13 solar Exp $";
19 #define qtemp_usage(ret) usage(ret, QTEMP_FLAGS, qtemp_long_opts, qtemp_opts_help, lookup_applet_idx("qtemp"))
20
21
22 int qtemp_main(int argc, char **argv)
23 {
24 int i;
25
26 DBG("argc=%d argv[0]=%s argv[1]=%s",
27 argc, argv[0], argc > 1 ? argv[1] : "NULL?");
28
29 while ((i = GETOPT_LONG(QTEMP, qtemp, "")) != -1) {
30 switch (i) {
31 COMMON_GETOPTS_CASES(qtemp)
32 }
33 }
34
35
36
37 return EXIT_SUCCESS;
38 }

  ViewVC Help
Powered by ViewVC 1.1.20