… | |
… | |
1173 | fprintf (stderr, "You did not specify any files to tail\n" |
1173 | fprintf (stderr, "You did not specify any files to tail\n" |
1174 | "use %s --help for help\n", argv[0]); |
1174 | "use %s --help for help\n", argv[0]); |
1175 | exit (1); |
1175 | exit (1); |
1176 | } |
1176 | } |
1177 | |
1177 | |
|
|
1178 | if (opt_update && opt_whole) |
|
|
1179 | { |
|
|
1180 | fprintf (stderr, "Specify at most one of -update and -whole\n"); |
|
|
1181 | exit (1); |
|
|
1182 | } |
1178 | if (opt_partial && opt_whole) |
1183 | else if (opt_partial && opt_whole) |
1179 | { |
1184 | { |
1180 | fprintf (stderr, "Specify at most one of -partial and -whole\n"); |
1185 | fprintf (stderr, "Specify at most one of -partial and -whole\n"); |
1181 | exit (1); |
1186 | exit (1); |
1182 | } |
1187 | } |
1183 | |
1188 | |