/* FIXME: This is provisory. Use strtok. */
static int
-split_3 (char *s, char **u, char **v, char **w)
+split_3 (s, u, v, w)
+ char *s, **u, **v, **w;
{
size_t i;
char *p[3];
/* FIXME: use strcspn. */
static int
-hex_digits (const char *s)
+hex_digits (s)
+ const char *s;
{
while (*s)
{
else if (check_file == NULL)
{
if (optind == argc)
- {
- error (0, errno, _("missing file argument"));
- usage (1);
- }
+ argv[argc++] = "-";
for (; optind < argc; ++optind)
{
program_name);
else
printf (_("\
-Usage: %s [OPTION] FILE...\n\
+Usage: %s [OPTION] [FILE]...\n\
or: %s --check=FILE\n\
or: %s --string=STRING\n\
Mandatory arguments to long options are mandatory for short options too.\n\