1 Index: arpwatch/arpsnmp.c
2 diff -u arpwatch/arpsnmp.c:1.1.1.1 arpwatch/arpsnmp.c:1.1.1.1.2.1
3 --- arpwatch/arpsnmp.c:1.1.1.1 Tue Apr 17 13:31:36 2001
4 +++ arpwatch/arpsnmp.c Tue Apr 17 13:47:57 2001
14 if ((cp = strrchr(argv[0], '/')) != NULL)
20 - while ((op = getopt(argc, argv, "df:")) != EOF)
21 + while ((op = getopt(argc, argv, options)) != EOF)
28 extern char version[];
35 (void)fprintf(stderr, "Version %s\n", version);
37 - "usage: %s [-d] [-f datafile] file [...]\n", prog);
38 + "usage: %s %s", prog, usage);
41 Index: arpwatch/arpwatch.c
42 diff -u arpwatch/arpwatch.c:1.1.1.1 arpwatch/arpwatch.c:1.1.1.1.2.1
43 --- arpwatch/arpwatch.c:1.1.1.1 Tue Apr 17 13:31:36 2001
44 +++ arpwatch/arpwatch.c Tue Apr 17 13:47:57 2001
46 register char *interface, *rfilename;
47 struct bpf_program code;
48 char errbuf[PCAP_ERRBUF_SIZE];
64 - while ((op = getopt(argc, argv, "df:i:n:Nr:")) != EOF)
65 + while ((op = getopt(argc, argv, options)) != EOF)
72 extern char version[];
82 (void)fprintf(stderr, "Version %s\n", version);
83 - (void)fprintf(stderr, "usage: %s [-dN] [-f datafile] [-i interface]"
84 - " [-n net[/width]] [-r file]\n", prog);
85 + (void)fprintf(stderr, "usage: %s %s", prog, usage);