Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pentobi for openSUSE:Factory checked in at 2021-12-07 23:59:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pentobi (Old) and /work/SRC/openSUSE:Factory/.pentobi.new.31177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pentobi" Tue Dec 7 23:59:53 2021 rev:4 rq:936167 version:19.1 Changes: -------- --- /work/SRC/openSUSE:Factory/pentobi/pentobi.changes 2021-04-17 23:25:26.641643022 +0200 +++ /work/SRC/openSUSE:Factory/.pentobi.new.31177/pentobi.changes 2021-12-07 23:59:58.463693836 +0100 @@ -1,0 +2,11 @@ +Mon Dec 6 21:35:23 UTC 2021 - Martin Hauke <mar...@gmx.de> + +- Update to version 19.1 + * Workaround for a crash at exit in some situations. + * Dialog for starting rated game was not shown after accepting a + dialog to discard current game. + * Avoid deprecated mimetypes tag in AppStream file. + * Avoid warnings with Qt 6 caused by deprecated signal handler + syntax. + +------------------------------------------------------------------- Old: ---- pentobi-19.0.tar.xz New: ---- pentobi-19.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pentobi.spec ++++++ --- /var/tmp/diff_new_pack.2L0fRp/_old 2021-12-08 00:00:00.347687389 +0100 +++ /var/tmp/diff_new_pack.2L0fRp/_new 2021-12-08 00:00:00.351687375 +0100 @@ -17,7 +17,7 @@ Name: pentobi -Version: 19.0 +Version: 19.1 Release: 0 Summary: Program to play the board game Blokus License: GPL-3.0-only ++++++ pentobi-19.0.tar.xz -> pentobi-19.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/CMakeLists.txt new/pentobi-19.1/CMakeLists.txt --- old/pentobi-19.0/CMakeLists.txt 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/CMakeLists.txt 2021-12-05 20:02:07.000000000 +0100 @@ -1,8 +1,8 @@ cmake_minimum_required(VERSION 3.1.0) project(pentobi) -set(PENTOBI_VERSION 19.0) -set(PENTOBI_RELEASE_DATE 2021-04-16) +set(PENTOBI_VERSION 19.1) +set(PENTOBI_RELEASE_DATE 2021-12-05) cmake_policy(SET CMP0043 NEW) cmake_policy(SET CMP0071 NEW) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/INSTALL.md new/pentobi-19.1/INSTALL.md --- old/pentobi-19.0/INSTALL.md 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/INSTALL.md 2021-12-05 20:02:07.000000000 +0100 @@ -7,7 +7,7 @@ Building Pentobi requires the following tools and libraries: * C++ compiler with C++17 support (e.g. GCC >=5) -* [Qt libraries](https://www.qt.io/) (>=5.15) +* [Qt libraries](https://www.qt.io/) (Linux: >=5.15; Android: 5.15) * [CMake](https://cmake.org/) (>=3.1.0) * [GNU gettext](https://www.gnu.org/software/gettext/) (>=0.19.6) * [ITS Tool](http://itstool.org/) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/NEWS.md new/pentobi-19.1/NEWS.md --- old/pentobi-19.0/NEWS.md 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/NEWS.md 2021-12-05 20:02:07.000000000 +0100 @@ -1,6 +1,16 @@ Pentobi Release Notes ===================== +Version 19.1 (05 Dec 2021) +-------------------------- + +* Workaround for a crash at exit in some situations. +* Dialog for starting rated game was not shown after accepting a dialog + to discard current game. +* Tuned landscape layout on Android for 16:10 tablets. +* Avoid deprecated mimetypes tag in AppStream file. +* Avoid warnings with Qt 6 caused by deprecated signal handler syntax. + Version 19.0 (16 Apr 2021) -------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/libboardgame_gtp/Arguments.h new/pentobi-19.1/libboardgame_gtp/Arguments.h --- old/pentobi-19.0/libboardgame_gtp/Arguments.h 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/libboardgame_gtp/Arguments.h 2021-12-05 20:02:07.000000000 +0100 @@ -72,7 +72,7 @@ /** Get argument line. Get all arguments as a line. - No modfications to the line were made apart from trimmimg leading + No modifications to the line were made apart from trimmimg leading and trailing white spaces. */ string_view get_line() const; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/libboardgame_mcts/Node.h new/pentobi-19.1/libboardgame_mcts/Node.h --- old/pentobi-19.0/libboardgame_mcts/Node.h 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/libboardgame_mcts/Node.h 2021-12-05 20:02:07.000000000 +0100 @@ -116,7 +116,7 @@ /** Get node index of first child. @pre get_nu_children() > 0. Note that in lock-free search, it can happen that get_nu_children() was greater 0 but becomes negative - again if two threads expand the node simultaneosly and one thread + again if two threads expand the node simultaneously and one thread sets nu_children to value_expanding because it missed that the other thread already expanded it. But since nodes never get deleted during the lock-free search, and the number of children is deterministic, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/libboardgame_mcts/Tree.h new/pentobi-19.1/libboardgame_mcts/Tree.h --- old/pentobi-19.0/libboardgame_mcts/Tree.h 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/libboardgame_mcts/Tree.h 2021-12-05 20:02:07.000000000 +0100 @@ -201,7 +201,7 @@ inline void Tree<N>::NodeExpander::add_child(const Move& mv, Float value, Float count, Float move_prior) { - // -numeric_limits<Float>::max() ist init value for m_best_value + // -numeric_limits<Float>::max() is init value for m_best_value LIBBOARDGAME_ASSERT(value > -numeric_limits<Float>::max()); LIBBOARDGAME_ASSERT(count >= m_child_min_count); LIBBOARDGAME_ASSERT(move_prior <= m_max_move_prior); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/libpentobi_base/Book.h new/pentobi-19.1/libpentobi_base/Book.h --- old/pentobi-19.0/libpentobi_base/Book.h 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/libpentobi_base/Book.h 2021-12-05 20:02:07.000000000 +0100 @@ -20,7 +20,7 @@ //----------------------------------------------------------------------------- /** Opening book. - Opening books are stored as trees in SGF files. Thay contain move + Opening books are stored as trees in SGF files. They contain move annotation properties according to the SGF standard. The book will select randomly among the child nodes that have the move annotation good move or very good move (TE[1] or TE[2]). */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/libpentobi_base/PrecompMoves.h new/pentobi-19.1/libpentobi_base/PrecompMoves.h --- old/pentobi-19.0/libpentobi_base/PrecompMoves.h 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/libpentobi_base/PrecompMoves.h 2021-12-05 20:02:07.000000000 +0100 @@ -7,6 +7,7 @@ #ifndef LIBPENTOBI_BASE_PRECOMP_MOVES_H #define LIBPENTOBI_BASE_PRECOMP_MOVES_H +#include <array> #include "Grid.h" #include "Move.h" #include "PieceMap.h" @@ -15,6 +16,8 @@ namespace libpentobi_base { +using namespace std; + //----------------------------------------------------------------------------- /** Precomputed moves for fast move generation. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/libpentobi_mcts/State.h new/pentobi-19.1/libpentobi_mcts/State.h --- old/pentobi-19.0/libpentobi_mcts/State.h 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/libpentobi_mcts/State.h 2021-12-05 20:02:07.000000000 +0100 @@ -62,7 +62,7 @@ board with (may avoid unnecessary BoardConst creation for game variant that is never used) @param shared_const The state shared between all threads, which - ist not modified during the search. The lifetime of this + is not modified during the search. The lifetime of this parameter must exceed the lifetime of the class instance. */ State(Variant initial_variant, const SharedConst& shared_const); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/pentobi/GameModel.cpp new/pentobi-19.1/pentobi/GameModel.cpp --- old/pentobi-19.0/pentobi/GameModel.cpp 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/pentobi/GameModel.cpp 2021-12-05 20:02:07.000000000 +0100 @@ -221,10 +221,17 @@ else settings.setValue(QStringLiteral("autosave"), getSgf()); settings.setValue(QStringLiteral("file"), m_file); - settings.setValue(QStringLiteral("fileDate"), m_fileDate); - settings.setValue(QStringLiteral("isModified"), m_isModified); m_autosaveDate = QDateTime::currentDateTime(); - settings.setValue(QStringLiteral("autosaveDate"), m_autosaveDate); + // Note: some Qt versions crash when adding invalid QDateTime to QSettings + if (m_autosaveDate.isValid()) + settings.setValue(QStringLiteral("autosaveDate"), m_autosaveDate); + else + settings.remove(QStringLiteral("autosaveDate")); + if (m_fileDate.isValid()) + settings.setValue(QStringLiteral("fileDate"), m_fileDate); + else + settings.remove(QStringLiteral("fileDate")); + settings.setValue(QStringLiteral("isModified"), m_isModified); QVariantList location; uint depth = 0; auto node = &m_game.get_current(); @@ -881,31 +888,41 @@ bool GameModel::loadAutoSave() { - QSettings settings; - auto file = settings.value(QStringLiteral("file")).toString(); - auto isModified = settings.value(QStringLiteral("isModified")).toBool(); - if (! file.isEmpty() && ! isModified) { - if (! openFile(file)) - return false; - updateFileInfo(file); - m_autosaveDate = m_fileDate; - settings.setValue(QStringLiteral("autosaveDate"), m_autosaveDate); + QSettings settings; + auto file = settings.value(QStringLiteral("file")).toString(); + auto isModified = + settings.value(QStringLiteral("isModified")).toBool(); + if (! file.isEmpty() && ! isModified) + { + if (! openFile(file)) + return false; + updateFileInfo(file); + m_autosaveDate = m_fileDate; + // Note: some Qt versions crash when adding invalid QDateTime to + // QSettings + if (m_autosaveDate.isValid()) + settings.setValue( + QStringLiteral("autosaveDate"), m_autosaveDate); + else + settings.remove(QStringLiteral("autosaveDate")); + } + else + { + if (! openByteArray(settings.value( + QStringLiteral("autosave")).toByteArray())) + return false; + m_fileDate = settings.value( + QStringLiteral("fileDate")).toDateTime(); + m_autosaveDate = settings.value( + QStringLiteral("autosaveDate")).toDateTime(); + setFile(file); + } + // Sanitize isModified if value from settings is inconsistent + if (file.isEmpty() && ! libboardgame_base::is_empty(m_game.get_tree())) + isModified = true; + setIsModified(isModified); } - else - { - if (! openByteArray( - settings.value(QStringLiteral("autosave")).toByteArray())) - return false; - m_fileDate = settings.value(QStringLiteral("fileDate")).toDateTime(); - m_autosaveDate = - settings.value(QStringLiteral("autosaveDate")).toDateTime(); - setFile(file); - } - // Sanitize isModified if value from settings is inconsistent - if (file.isEmpty() && ! libboardgame_base::is_empty(m_game.get_tree())) - isModified = true; - setIsModified(isModified); restoreAutoSaveLocation(); updateProperties(); return true; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/pentobi/ImageProvider.cpp new/pentobi-19.1/pentobi/ImageProvider.cpp --- old/pentobi-19.0/pentobi/ImageProvider.cpp 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/pentobi/ImageProvider.cpp 2021-12-05 20:02:07.000000000 +0100 @@ -25,7 +25,7 @@ // the image might be requested temporarily with a useless sourceSize, for // example 0 or negative if scaleUnplayed of a piece is 0, or width 1 but // height greater 1 for a square because the width and height properties - // are updated in two steps. In theses cases, we return a 1x1 pixmap (0x0 + // are updated in two steps. In these cases, we return a 1x1 pixmap (0x0 // would cause a QQuickImageProvider warning). int width = max(requestedSize.width(), 1); int height = max(requestedSize.height(), 1); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/pentobi/Main.cpp new/pentobi-19.1/pentobi/Main.cpp --- old/pentobi-19.0/pentobi/Main.cpp 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/pentobi/Main.cpp 2021-12-05 20:02:07.000000000 +0100 @@ -64,7 +64,7 @@ int mainDesktop() { - QIcon::setThemeName("pentobi"); + QIcon::setThemeName(QStringLiteral("pentobi")); QIcon icon(QStringLiteral(":/icon/pentobi-128.png")); QGuiApplication::setWindowIcon(icon); QGuiApplication::setDesktopFileName( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/pentobi/PlayerModel.cpp new/pentobi-19.1/pentobi/PlayerModel.cpp --- old/pentobi-19.0/pentobi/PlayerModel.cpp 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/pentobi/PlayerModel.cpp 2021-12-05 20:02:07.000000000 +0100 @@ -9,7 +9,6 @@ #include <QElapsedTimer> #include <QFile> #include <QtConcurrentRun> -#include <QSettings> #include "GameModel.h" using namespace std; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/pentobi/android/AndroidManifest.xml new/pentobi-19.1/pentobi/android/AndroidManifest.xml --- old/pentobi-19.0/pentobi/android/AndroidManifest.xml 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/pentobi/android/AndroidManifest.xml 2021-12-05 20:02:07.000000000 +0100 @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<manifest package="net.sf.pentobi" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="19.0" android:versionCode="19000000" android:installLocation="auto"> +<manifest package="net.sf.pentobi" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="19.1" android:versionCode="19001000" android:installLocation="auto"> <!-- The following comment will be replaced upon deployment with default features based on the dependencies of the application. Remove the comment if you do not require these default features. --> <!-- %%INSERT_FEATURES --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/pentobi/qml/Board.qml new/pentobi-19.1/pentobi/qml/Board.qml --- old/pentobi-19.0/pentobi/qml/Board.qml 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/pentobi/qml/Board.qml 2021-12-05 20:02:07.000000000 +0100 @@ -280,7 +280,7 @@ pos.y = Math.floor(pos.y) root.rightClicked(pos) } - onClicked: { + onClicked: mouse => { var pos = mapToGame(Qt.point(mouseX + grabImageTarget.x, mouseY + grabImageTarget.y)) pos.x = Math.floor(pos.x) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/pentobi/qml/GameViewDesktop.qml new/pentobi-19.1/pentobi/qml/GameViewDesktop.qml --- old/pentobi-19.0/pentobi/qml/GameViewDesktop.qml 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/pentobi/qml/GameViewDesktop.qml 2021-12-05 20:02:07.000000000 +0100 @@ -182,8 +182,8 @@ bottom: parent.bottom } width: _relativeBoardWidth * parent.width - onClicked: Logic.onBoardClicked(pos) - onRightClicked: Logic.onBoardRightClicked(pos) + onClicked: pos => Logic.onBoardClicked(pos) + onRightClicked: pos => Logic.onBoardRightClicked(pos) Loader { id: boardContextMenu diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/pentobi/qml/GameViewMobile.qml new/pentobi-19.1/pentobi/qml/GameViewMobile.qml --- old/pentobi-19.0/pentobi/qml/GameViewMobile.qml 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/pentobi/qml/GameViewMobile.qml 2021-12-05 20:02:07.000000000 +0100 @@ -13,7 +13,7 @@ /** Game view optimized for mobile devices. Landscape orientation is still experimental because of bugs in Qt (with Qt 5.12, there is sometimes a 1-pixel wide white line visible after - rotating the screen. So far, this bug has only occured in the Android + rotating the screen. So far, this bug has only occurred in the Android emulator.) To enable support for landscape, remove android:screenOrientation="portrait" from AndroidManifest.xml. */ Item @@ -133,7 +133,7 @@ (parent.width - width) / 2 : Math.max((parent.width - 2 * width - 0.02 * width) / 2, 0) width: isPortrait ? Math.min(parent.width, 0.7 * parent.height) - : Math.min(parent.width / 2, parent.height) + : Math.min(parent.width * 0.57, parent.height) height: isPortrait ? width : parent.height onClicked: Logic.onBoardClicked(pos) onRightClicked: Logic.onBoardRightClicked(pos) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/pentobi/qml/Main.js new/pentobi-19.1/pentobi/qml/Main.js --- old/pentobi-19.0/pentobi/qml/Main.js 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/pentobi/qml/Main.js 2021-12-05 20:02:07.000000000 +0100 @@ -533,7 +533,7 @@ var oldGameVariant = gameModel.gameVariant var oldEnableAnimations = gameView.enableAnimations gameView.enableAnimations = false - if (! gameModel.openFile(file, displayName)) + if (! gameModel.openFile(file)) showInfo(qsTr("Open failed.") + "\n" + gameModel.getError()) else { if (isAndroid) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/pentobi/qml/Main.qml new/pentobi-19.1/pentobi/qml/Main.qml --- old/pentobi-19.0/pentobi/qml/Main.qml 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/pentobi/qml/Main.qml 2021-12-05 20:02:07.000000000 +0100 @@ -135,8 +135,10 @@ id: playerModel gameVariant: gameModel.gameVariant - onMoveGenerated: Logic.moveGenerated(move) - onSearchCallback: gameView.searchCallback(elapsedSeconds, remainingSeconds) + onMoveGenerated: move => Logic.moveGenerated(move) + onSearchCallback: + (elapsedSeconds, remainingSeconds) => + gameView.searchCallback(elapsedSeconds, remainingSeconds) onIsGenMoveRunningChanged: if (isGenMoveRunning) gameView.startSearch() else gameView.endSearch() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/pentobi/qml/PentobiToolBar.qml new/pentobi-19.1/pentobi/qml/PentobiToolBar.qml --- old/pentobi-19.0/pentobi/qml/PentobiToolBar.qml 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/pentobi/qml/PentobiToolBar.qml 2021-12-05 20:02:07.000000000 +0100 @@ -274,7 +274,6 @@ PentobiMenu { relativeWidth: 12 - closePolicy: Popup.CloseOnPressOutsideParent | Popup.CloseOnEscape diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/pentobi/qml/QuestionDialog.qml new/pentobi-19.1/pentobi/qml/QuestionDialog.qml --- old/pentobi-19.0/pentobi/qml/QuestionDialog.qml 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/pentobi/qml/QuestionDialog.qml 2021-12-05 20:02:07.000000000 +0100 @@ -18,7 +18,7 @@ property var _acceptedFunc footer: DialogButtonBoxOkCancel { } - onAccepted: _acceptedFunc() + onAccepted: Qt.callLater(_acceptedFunc) Item { implicitWidth: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/pentobi/unix/io.sourceforge.pentobi.appdata.xml.in new/pentobi-19.1/pentobi/unix/io.sourceforge.pentobi.appdata.xml.in --- old/pentobi-19.0/pentobi/unix/io.sourceforge.pentobi.appdata.xml.in 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/pentobi/unix/io.sourceforge.pentobi.appdata.xml.in 2021-12-05 20:02:07.000000000 +0100 @@ -62,11 +62,8 @@ <update_contact>e...@users.sourceforge.net</update_contact> <provides> <binary>pentobi</binary> +<mediatype>application/x-blokus-sgf</mediatype> </provides> -<mimetypes> -<mimetype>application/x-blokus-sgf</mimetype> -</mimetypes> -<translation type="qt">pentobi</translation> <content_rating type="oars-1.1"/> <releases> <release version="@PENTOBI_VERSION@" date="@PENTOBI_RELEASE_DATE@"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pentobi-19.0/pentobi/unix/pentobi-manpage.docbook.in new/pentobi-19.1/pentobi/unix/pentobi-manpage.docbook.in --- old/pentobi-19.0/pentobi/unix/pentobi-manpage.docbook.in 2021-04-16 14:46:17.000000000 +0200 +++ new/pentobi-19.1/pentobi/unix/pentobi-manpage.docbook.in 2021-12-05 20:02:07.000000000 +0100 @@ -150,6 +150,15 @@ </para> </listitem> </varlistentry> +<varlistentry> +<term><option>-v</option></term> +<term><option>--version</option></term> +<listitem> +<para> +Display version and exit. +</para> +</listitem> +</varlistentry> </variablelist> </refsection> @@ -184,15 +193,6 @@ </para> </listitem> </varlistentry> -<varlistentry> -<term><option>-v</option></term> -<term><option>--version</option></term> -<listitem> -<para> -Display version and exit. -</para> -</listitem> -</varlistentry> </variablelist> </refsection>