| 1053 | |
| 1054 | #ifndef SFX_MODULE |
| 1055 | void CommandData::ReportWrongSwitches(RARFORMAT Format) |
| 1056 | { |
| 1057 | if (Format==RARFMT15) |
| 1058 | { |
| 1059 | if (HashType!=HASH_CRC32) |
| 1060 | uiMsg(UIERROR_INCOMPATSWITCH,L"-ht",4); |
| 1061 | #ifdef _WIN_ALL |
| 1062 | if (SaveSymLinks) |
| 1063 | uiMsg(UIERROR_INCOMPATSWITCH,L"-ol",4); |
| 1064 | #endif |
| 1065 | if (SaveHardLinks) |
| 1066 | uiMsg(UIERROR_INCOMPATSWITCH,L"-oh",4); |
| 1067 | |
| 1068 | #ifdef _WIN_ALL |
| 1069 | // Do not report a wrong dictionary size here, because we are not sure |
| 1070 | // yet about archive format. We can switch to RAR5 mode later |
| 1071 | // if we update RAR5 archive. |
| 1072 | |
| 1073 | |
| 1074 | #endif |
| 1075 | if (QOpenMode!=QOPEN_AUTO) |
| 1076 | uiMsg(UIERROR_INCOMPATSWITCH,L"-qo",4); |
| 1077 | } |
| 1078 | if (Format==RARFMT50) |
| 1079 | { |
| 1080 | } |
| 1081 | } |
| 1082 | #endif |