From 5db320a961c54c6d8e4aed79c931d69946462fc8 Mon Sep 17 00:00:00 2001 From: DomingoGP Date: Tue, 29 Oct 2024 10:29:02 +0100 Subject: [PATCH] Jedi code format: better version info for command line tool. --- components/jcf2/CommandLine/CommandLineConstants.pas | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/components/jcf2/CommandLine/CommandLineConstants.pas b/components/jcf2/CommandLine/CommandLineConstants.pas index 8896da030c..0adf05c388 100644 --- a/components/jcf2/CommandLine/CommandLineConstants.pas +++ b/components/jcf2/CommandLine/CommandLineConstants.pas @@ -31,15 +31,23 @@ interface uses JcfStringUtils, - JcfVersionConsts; + JcfVersionConsts, + lazversion; const ABOUT_COMMANDLINE = + 'JEDI Code Format [lazarus fork] V' + laz_version + NativeLineBreak + + 'Build date: ' + {$Include %Date%} + NativeLineBreak + + 'Program source code at: ' + 'https://gitlab.com/freepascal.org/lazarus/lazarus'+ NativeLineBreak + + 'In folder: /components/jcf2'+ NativeLineBreak + + 'This is a fork of: ' + NativeLineBreak + NativeLineBreak + + '-----------------------------------' + NativeLineBreak + 'JEDI Code Format V' + PROGRAM_VERSION + NativeLineBreak + ' ' + PROGRAM_DATE + NativeLineBreak + ' A Delphi Object-Pascal Source code formatter' + NativeLineBreak + ' A GUI version of this program is also available' + NativeLineBreak + ' Latest version at ' + PROGRAM_HOME_PAGE + NativeLineBreak + NativeLineBreak + + '-----------------------------------' + NativeLineBreak + NativeLineBreak + 'Syntax: jcf [options] path/filename ' + NativeLineBreak + ' Parameters to the command-line program: ' + NativeLineBreak + NativeLineBreak +