blob: ec69285d8e671073ca1e3851c965b284e19e4d7c [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- 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
5 static void PrintHelp()
6 {
7+ fprintf(stderr, "\nLZMA " MY_VERSION_COPYRIGHT_DATE "\n");
8+
9 fprintf(stderr, "\nUsage: LZMA <e|d> inputFile outputFile [<switches>...]\n"
10 " e: encode file\n"
11 " d: decode file\n"
12@@ -168,8 +170,6 @@ int main2(int n, const char *args[])
13 g_IsNT = IsItWindowsNT();
14 #endif
15
16- fprintf(stderr, "\nLZMA " MY_VERSION_COPYRIGHT_DATE "\n");
17-
18 if (n == 1)
19 {
20 PrintHelp();