From 80bef9de096cfeb5290c3e63eba0461d291c6d27 Mon Sep 17 00:00:00 2001 From: Ryszard Rozak Date: Wed, 21 May 2025 15:12:01 +0200 Subject: [PATCH] Sort fields Signed-off-by: Ryszard Rozak --- src/VlcMain.cpp | 2 +- src/VlcOptions.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VlcMain.cpp b/src/VlcMain.cpp index dafb83c3b..328359b25 100644 --- a/src/VlcMain.cpp +++ b/src/VlcMain.cpp @@ -68,6 +68,7 @@ void VlcOptions::parseOptsList(int argc, char** argv) { DECL_OPTION("-annotate-points", OnOff, &m_annotatePoints); DECL_OPTION("-debug", CbCall, []() { V3Error::debugDefault(3); }); DECL_OPTION("-debugi", CbVal, [](int v) { V3Error::debugDefault(v); }); + DECL_OPTION("-filter-type", Set, &m_filterType); DECL_OPTION("-rank", OnOff, &m_rank); DECL_OPTION("-unlink", OnOff, &m_unlink); DECL_OPTION("-V", CbCall, []() { @@ -80,7 +81,6 @@ void VlcOptions::parseOptsList(int argc, char** argv) { }); DECL_OPTION("-write", Set, &m_writeFile); DECL_OPTION("-write-info", Set, &m_writeInfoFile); - DECL_OPTION("-filter-type", Set, &m_filterType); parser.finalize(); // Parse parameters diff --git a/src/VlcOptions.h b/src/VlcOptions.h index 60473a354..9c1a760ca 100644 --- a/src/VlcOptions.h +++ b/src/VlcOptions.h @@ -39,12 +39,12 @@ class VlcOptions final { bool m_annotateAll = false; // main switch: --annotate-all int m_annotateMin = 10; // main switch: --annotate-min I bool m_annotatePoints = false; // main switch: --annotate-points + string m_filterType; // main switch: --filter-type VlStringSet m_readFiles; // main switch: --read bool m_rank = false; // main switch: --rank bool m_unlink = false; // main switch: --unlink string m_writeFile; // main switch: --write string m_writeInfoFile; // main switch: --write-info - string m_filterType; // main switch: --filter-type // clang-format on private: