1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-13 03:22:30 +03:00

(Long Options): getopt_long in getopt.h

This commit is contained in:
Roland McGrath
1996-05-21 21:35:56 +00:00
parent ee263689e0
commit 1b82a4a8ca

View File

@@ -316,7 +316,8 @@ Non-option argument -
@subsection Parsing Long Options @subsection Parsing Long Options
To accept GNU-style long options as well as single-character options, To accept GNU-style long options as well as single-character options,
use @code{getopt_long} instead of @code{getopt}. You should make every use @code{getopt_long} instead of @code{getopt}. This function is
declared in @file{getopt.h}, not @file{unistd.h}. You should make every
program accept long options if it uses any options, for this takes program accept long options if it uses any options, for this takes
little extra work and helps beginners remember how to use the program. little extra work and helps beginners remember how to use the program.