From 18f27c7d239b837e23d91bebe1da33dd0ba3dcd5 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 27 Sep 1995 21:39:17 +0000 Subject: Use 0 as the tag for non-option args. --- libshouldbeinlibc/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libshouldbeinlibc') diff --git a/libshouldbeinlibc/options.h b/libshouldbeinlibc/options.h index 6ac15c63..46651add 100644 --- a/libshouldbeinlibc/options.h +++ b/libshouldbeinlibc/options.h @@ -61,7 +61,7 @@ struct options #define OPTIONS_PRINT_ERRS 0x2 /* Parse non-option args as well, similarly to getopt, by calling the parse - function with a key of 1, and the actual arg as the value. Since it's + function with a key of 0, and the actual arg as the value. Since it's impossible to know which parse function wants to handle it, each one is called in turn, until one returns 0 or an error other than EINVAL. */ #define OPTIONS_PARSE_ARGS 0x4 -- cgit v1.2.3