#754 Add a hint about -o option

dev
Sergey Ponomarev 2019-09-14 21:23:47 +03:00
parent 8cc815a941
commit 7d9cd22e21
1 changed files with 2 additions and 2 deletions

View File

@ -2185,7 +2185,7 @@ FIO_determineDstName(const char* srcFileName)
size_t suffixSize; size_t suffixSize;
const char* const suffixPtr = strrchr(srcFileName, '.'); const char* const suffixPtr = strrchr(srcFileName, '.');
if (suffixPtr == NULL) { if (suffixPtr == NULL) {
DISPLAYLEVEL(1, "zstd: %s: missing suffix (%s expected) -- ignored \n", DISPLAYLEVEL(1, "zstd: %s: missing suffix (%s expected). Can't derive the output file name so specify it with -o dstFileName. -- ignored \n",
srcFileName, SUFFIX_LIST); srcFileName, SUFFIX_LIST);
return NULL; return NULL;
} }
@ -2205,7 +2205,7 @@ FIO_determineDstName(const char* srcFileName)
&& strcmp(suffixPtr, LZ4_EXTENSION) && strcmp(suffixPtr, LZ4_EXTENSION)
#endif #endif
) ) { ) ) {
DISPLAYLEVEL(1, "zstd: %s: unknown suffix (%s expected) -- ignored \n", DISPLAYLEVEL(1, "zstd: %s: unknown suffix (%s expected). Can't derive the output file name so specify it with -o dstFileName. -- ignored \n",
srcFileName, SUFFIX_LIST); srcFileName, SUFFIX_LIST);
return NULL; return NULL;
} }