git://wimlib.net
/
wimlib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a62cf46
)
wimextract: Suggest --nullglob
author
Eric Biggers
<ebiggers3@gmail.com>
Sat, 7 Jun 2014 21:54:33 +0000
(16:54 -0500)
committer
Eric Biggers
<ebiggers3@gmail.com>
Sat, 7 Jun 2014 21:54:33 +0000
(16:54 -0500)
programs/imagex.c
patch
|
blob
|
history
diff --git
a/programs/imagex.c
b/programs/imagex.c
index 1f8018a3c95e2d189f46ad1737a17aa860bfa17b..1a8407045dfaa46f30411fb43b844942b11bbbc2 100644
(file)
--- 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 (!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"),
tfprintf(stderr, T("Note: You can use `%"TS"' to see what "
"files and directories\n"
" are in the WIM image.\n"),