Skip to content

Commit b741a12

Browse files
authored
Merge pull request rism-digital#4222 from rism-digital/develop-options
Move --expand to selectors option group
2 parents 138cf77 + 5e19c9a commit b741a12

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/options.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,10 +1021,6 @@ Options::Options()
10211021
m_evenNoteSpacing.Init(false);
10221022
this->Register(&m_evenNoteSpacing, "evenNoteSpacing", &m_general);
10231023

1024-
m_expand.SetInfo("Expand expansion", "Expand all referenced elements in the expansion <xml:id>");
1025-
m_expand.Init("");
1026-
this->Register(&m_expand, "expand", &m_general);
1027-
10281024
m_footer.SetInfo("Footer", "Control footer layout");
10291025
m_footer.Init(FOOTER_auto, &Option::s_footer);
10301026
this->Register(&m_footer, "footer", &m_general);
@@ -1564,7 +1560,7 @@ Options::Options()
15641560

15651561
/********* selectors *********/
15661562

1567-
m_selectors.SetLabel("Element selectors and processing", "3-selectors");
1563+
m_selectors.SetLabel("Loading selectors and processing", "3-selectors");
15681564
m_selectors.SetCategory(OptionsCategory::Selectors);
15691565
m_grps.push_back(&m_selectors);
15701566

@@ -1581,6 +1577,10 @@ Options::Options()
15811577
m_choiceXPathQuery.Init();
15821578
this->Register(&m_choiceXPathQuery, "choiceXPathQuery", &m_selectors);
15831579

1580+
m_expand.SetInfo("Expand expansion", "Expand all referenced elements in the expansion <xml:id>");
1581+
m_expand.Init("");
1582+
this->Register(&m_expand, "expand", &m_selectors);
1583+
15841584
m_loadSelectedMdivOnly.SetInfo(
15851585
"Load selected Mdiv only", "Load only the selected mdiv; the content of the other is skipped");
15861586
m_loadSelectedMdivOnly.Init(false);

0 commit comments

Comments
 (0)