Skip to content

Commit 0fe06c6

Browse files
committed
Fix global -f switch output formatting
1 parent be90569 commit 0fe06c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/stex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void Stex::showHelp()
5858

5959

6060
void Stex::showVersion() { printVerbatim(MSG_VERSION); }
61-
void Stex::showFormats() { printVerbatim(MSG_FORMATS.arg(mImageFormats.join('n'))); }
61+
void Stex::showFormats() { printVerbatim(MSG_FORMATS.arg(mImageFormats.join('\n'))); }
6262

6363
//Public:
6464
ErrorCode Stex::initialize(QStringList& commandLine)

src/stex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Stex
7373

7474
// Messages
7575
static inline const QString MSG_VERSION = VER_PRODUCTNAME_STR " version " VER_FILEVERSION_STR "\n";
76-
static inline const QString MSG_FORMATS = VER_PRODUCTNAME_STR " supports the following image formats:\n%1\n";
76+
static inline const QString MSG_FORMATS = VER_INTERNALNAME_STR " supports the following image formats:\n%1\n";
7777

7878
// Stream
7979
static inline QTextStream qcout = QTextStream(stdout, QIODevice::WriteOnly);

0 commit comments

Comments
 (0)