~ubuntu-branches/ubuntu/breezy/uucp/breezy

« back to all changes in this revision

Viewing changes to uupick.c

  • Committer: Bazaar Package Importer
  • Author(s): Peter Palfrader
  • Date: 2004-12-30 15:30:22 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041230153022-mx4cdr9j3u9bldo3
Tags: 1.07-12
Add cs localisation for debconf templates (closes: #287305).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* uupick.c
2
2
   Get files stored in the public directory by uucp -t.
3
3
 
4
 
   Copyright (C) 1992, 1993, 1994, 1995 Ian Lance Taylor
 
4
   Copyright (C) 1992, 1993, 1994, 1995, 2002 Ian Lance Taylor
5
5
 
6
6
   This file is part of the Taylor UUCP package.
7
7
 
17
17
 
18
18
   You should have received a copy of the GNU General Public License
19
19
   along with this program; if not, write to the Free Software
20
 
   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
20
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
21
21
 
22
 
   The author of the program may be contacted at ian@airs.com or
23
 
   c/o Cygnus Support, 48 Grove Street, Somerville, MA 02144.
 
22
   The author of the program may be contacted at ian@airs.com.
24
23
   */
25
24
 
26
25
#include "uucp.h"
27
26
 
28
27
#if USE_RCS_ID
29
 
const char uupick_rcsid[] = "$Id: uupick.c,v 1.16 1995/06/29 19:38:55 ian Rel $";
 
28
const char uupick_rcsid[] = "$Id: uupick.c,v 1.19 2002/03/05 19:10:42 ian Rel $";
30
29
#endif
31
30
 
32
31
#include <errno.h>
104
103
 
105
104
        case 'v':
106
105
          /* Print version and exit.  */
107
 
          fprintf
108
 
            (stderr,
109
 
             "%s: Taylor UUCP %s, copyright (C) 1991, 92, 93, 94, 1995 Ian Lance Taylor\n",
110
 
             zProgram, VERSION);
 
106
          printf ("uupick (Taylor UUCP) %s\n", VERSION);
 
107
          printf ("Copyright (C) 1991, 92, 93, 94, 1995, 2002 Ian Lance Taylor\n");
 
108
          printf ("This program is free software; you may redistribute it under the terms of\n");
 
109
          printf ("the GNU General Public LIcense.  This program has ABSOLUTELY NO WARRANTY.\n");
111
110
          exit (EXIT_SUCCESS);
112
111
          /*NOTREACHED*/
113
112
 
321
320
static void
322
321
uphelp ()
323
322
{
324
 
  fprintf (stderr,
325
 
           "Taylor UUCP %s, copyright (C) 1991, 92, 93, 94, 1995 Ian Lance Taylor\n",
326
 
           VERSION);
327
 
  fprintf (stderr,
328
 
           " -s,--system system: Only consider files from named system\n");
329
 
  fprintf (stderr,
330
 
           " -x,--debug debug: Set debugging level\n");
 
323
  printf ("Taylor UUCP %s, copyright (C) 1991, 92, 93, 94, 1995, 2002 Ian Lance Taylor\n",
 
324
          VERSION);
 
325
  printf (" -s,--system system: Only consider files from named system\n");
 
326
  printf (" -x,--debug debug: Set debugging level\n");
331
327
#if HAVE_TAYLOR_CONFIG
332
 
  fprintf (stderr,
333
 
           " -I,--config file: Set configuration file to use\n");
 
328
  printf (" -I,--config file: Set configuration file to use\n");
334
329
#endif /* HAVE_TAYLOR_CONFIG */
335
 
  fprintf (stderr,
336
 
           " -v,--version: Print version and exit\n");
337
 
  fprintf (stderr,
338
 
           " --help: Print help and exit\n");
 
330
  printf (" -v,--version: Print version and exit\n");
 
331
  printf (" --help: Print help and exit\n");
 
332
  printf ("Report bugs to taylor-uucp@gnu.org\n");
339
333
}
340
334
 
341
335
/* This routine is called by usysdep_walk_tree when moving the