From 16083158d29fccc5a7da7970cede3c068aa6db4d Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 7 Jun 2014 16:54:33 -0500 Subject: [PATCH] wimextract: Suggest --nullglob --- programs/imagex.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/programs/imagex.c b/programs/imagex.c index 1f8018a3..1a840704 100644 --- a/programs/imagex.c +++ b/programs/imagex.c @@ -3002,6 +3002,15 @@ imagex_extract(int argc, tchar **argv, int cmd) if (!imagex_be_quiet) imagex_printf(T("Done extracting files.\n")); } else if (ret == WIMLIB_ERR_PATH_DOES_NOT_EXIST) { + if ((extract_flags & (WIMLIB_EXTRACT_FLAG_STRICT_GLOB | + WIMLIB_EXTRACT_FLAG_GLOB_PATHS)) + == (WIMLIB_EXTRACT_FLAG_STRICT_GLOB | + WIMLIB_EXTRACT_FLAG_GLOB_PATHS)) + { + tfprintf(stderr, + T("Note: You can use the '--nullglob' " + "option to ignore missing files.\n")); + } tfprintf(stderr, T("Note: You can use `%"TS"' to see what " "files and directories\n" " are in the WIM image.\n"), -- 2.43.0