Sort fields

Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
This commit is contained in:
Ryszard Rozak 2025-05-21 15:12:01 +02:00
parent 5bf933f01d
commit 80bef9de09
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -39,12 +39,12 @@ class VlcOptions final {
bool m_annotateAll = false; // main switch: --annotate-all
int m_annotateMin = 10; // main switch: --annotate-min I<count>
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: