Files
MINGW-packages/mingw-w64-codelite/003-Show-command-line-help.patch

34 lines
868 B
Diff

From a365eeac2a27ad27fb0451c04d2de27d31c77285 Mon Sep 17 00:00:00 2001
From: Tim Stahlhut <stahta01@gmail.com>
Date: Sun, 26 Oct 2025 12:20:28 -0400
Subject: Show command line help
---
LiteEditor/app.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/LiteEditor/app.cpp b/LiteEditor/app.cpp
index a6798b915..14d85629c 100644
--- a/LiteEditor/app.cpp
+++ b/LiteEditor/app.cpp
@@ -1111,12 +1111,12 @@ void CodeLiteApp::AdjustPathForMSYSIfNeeded()
void CodeLiteApp::PrintUsage(const wxCmdLineParser& m_parser)
{
-#ifdef __WXMSW__
- m_parser.Usage();
-#else
+//#ifdef __WXMSW__
+ //m_parser.Usage();
+//#else
wxString usageString = m_parser.GetUsageString();
std::cout << usageString.mb_str(wxConvUTF8).data() << std::endl;
-#endif
+//#endif
}
void CodeLiteApp::OpenFolder(const wxString& path)
--
2.48.1.windows.1