1
0

101-move-copyright-to-usage-info.patch 604 B

1234567891011121314151617181920
  1. --- a/CPP/7zip/Compress/LZMA_Alone/LzmaAlone.cpp
  2. +++ b/CPP/7zip/Compress/LZMA_Alone/LzmaAlone.cpp
  3. @@ -101,6 +101,8 @@ static const int kNumSwitches = sizeof(k
  4. static void PrintHelp()
  5. {
  6. + fprintf(stderr, "\nLZMA " MY_VERSION_COPYRIGHT_DATE "\n");
  7. +
  8. fprintf(stderr, "\nUsage: LZMA <e|d> inputFile outputFile [<switches>...]\n"
  9. " e: encode file\n"
  10. " d: decode file\n"
  11. @@ -168,8 +170,6 @@ int main2(int n, const char *args[])
  12. g_IsNT = IsItWindowsNT();
  13. #endif
  14. - fprintf(stderr, "\nLZMA " MY_VERSION_COPYRIGHT_DATE "\n");
  15. -
  16. if (n == 1)
  17. {
  18. PrintHelp();