X-Git-Url: http://git.efficios.com/?p=argpar.git;a=blobdiff_plain;f=argpar%2Fargpar.h;fp=argpar%2Fargpar.h;h=453f53385eec786140b425eae1f9d157b2cbeda1;hp=9da99d3324ead19564e0c2dbf4d6d0eccbf52c4c;hb=a29790113ff3345f42834c3d9be99bb8055ff071;hpb=a473f6cbcce5fe68bf5038cab79170a4e165b9e6 diff --git a/argpar/argpar.h b/argpar/argpar.h index 9da99d3..453f533 100644 --- a/argpar/argpar.h +++ b/argpar/argpar.h @@ -290,7 +290,9 @@ void argpar_parse_ret_fini(struct argpar_parse_ret *ret); * actually start parsing the arguments. * * `*argv` and `*descrs` must NOT change for the lifetime of the - * returned iterator (until you call argpar_iter_destroy()). + * returned iterator (until you call argpar_iter_destroy()) and for the + * lifetime of any parsing item (until you call argpar_item_destroy()) + * argpar_iter_next() creates for the returned iterator. * * Call argpar_iter_next() with the returned iterator to obtain the next * parsing result (item).