X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib.h;h=8c293c8a81d42dbbd867f0b5e6b3878959843737;hp=faececa310df642f92c3514ba32937dd235f9235;hb=2b04e3ff551654916caba6f6fad50908de67b0fd;hpb=e7302af311839d06f6faf4192d2d0eae6d895b2a diff --git a/include/wimlib.h b/include/wimlib.h index faececa3..8c293c8a 100644 --- a/include/wimlib.h +++ b/include/wimlib.h @@ -1890,7 +1890,9 @@ wimlib_extract_image(WIMStruct *wim, int image, * String that specifies the 1-based index or name of the image to extract. * It is translated to an image index using the same rules that * wimlib_resolve_image() uses. However, unlike wimlib_extract_image(), - * only a single image (not all images) can be specified. + * only a single image (not all images) can be specified. Alternatively, + * specify @p NULL here to use the first image in the WIM if it contains + * exactly one image but otherwise return @p WIMLIB_ERR_INVALID_IMAGE. * @param target * Same as the corresponding parameter to wimlib_extract_image(). * @param extract_flags