getopt_long.3 (8fa0b743820f61c661ba5f3ea0e3be0dc137910e) | getopt_long.3 (0603b75a7afa58e162c0055fd4992c9bb8ffff6c) |
---|---|
1.\" $OpenBSD: getopt_long.3,v 1.10 2004/01/06 23:44:28 fgsch Exp $ 2.\" $NetBSD: getopt_long.3,v 1.14 2003/08/07 16:43:40 agc Exp $ 3.\" 4.\" Copyright (c) 1988, 1991, 1993 5.\" The Regents of the University of California. All rights reserved. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 116 unchanged lines hidden (view full) --- 125field should contain the option name without the leading double dash. 126.Pp 127The 128.Va has_arg 129field should be one of: 130.Pp 131.Bl -tag -width ".Dv optional_argument" -offset indent -compact 132.It Dv no_argument | 1.\" $OpenBSD: getopt_long.3,v 1.10 2004/01/06 23:44:28 fgsch Exp $ 2.\" $NetBSD: getopt_long.3,v 1.14 2003/08/07 16:43:40 agc Exp $ 3.\" 4.\" Copyright (c) 1988, 1991, 1993 5.\" The Regents of the University of California. All rights reserved. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 116 unchanged lines hidden (view full) --- 125field should contain the option name without the leading double dash. 126.Pp 127The 128.Va has_arg 129field should be one of: 130.Pp 131.Bl -tag -width ".Dv optional_argument" -offset indent -compact 132.It Dv no_argument |
133no argument to the option is expect | 133no argument to the option is expected |
134.It Dv required_argument 135an argument to the option is required 136.It Dv optional_argument | 134.It Dv required_argument 135an argument to the option is required 136.It Dv optional_argument |
137an argument to the option may be presented. | 137an argument to the option may be presented |
138.El 139.Pp 140If 141.Va flag 142is not 143.Dv NULL , 144then the integer pointed to by it will be set to the 145value in the --- 362 unchanged lines hidden --- | 138.El 139.Pp 140If 141.Va flag 142is not 143.Dv NULL , 144then the integer pointed to by it will be set to the 145value in the --- 362 unchanged lines hidden --- |