<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/20848">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vty/command: add CMD_ATTR_HIDDEN to CMD_ATTR_PUBLIC_MASK<br><br>Otherwise in the expert mode, hidden commands do not get the<br>associated attribute printed to the XML VTY reference.<br><br>Change-Id: I8ded973031beb6d8c7ad55f06641c9651b1d9e71<br>Related: OS#4910<br>---<br>M src/vty/command.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/vty/command.c b/src/vty/command.c</span><br><span>index b83522f..7ea1971 100644</span><br><span>--- a/src/vty/command.c</span><br><span>+++ b/src/vty/command.c</span><br><span>@@ -633,7 +633,7 @@</span><br><span> </span><br><span> /* Public attributes (to be printed in the VTY / XML reference) */</span><br><span> #define CMD_ATTR_PUBLIC_MASK \</span><br><span style="color: hsl(0, 100%, 40%);">- (CMD_ATTR_IMMEDIATE | CMD_ATTR_NODE_EXIT)</span><br><span style="color: hsl(120, 100%, 40%);">+     (CMD_ATTR_HIDDEN | CMD_ATTR_IMMEDIATE | CMD_ATTR_NODE_EXIT)</span><br><span> </span><br><span> /* Get a flag character for a global VTY command attribute */</span><br><span> static char cmd_attr_get_flag(unsigned int attr)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/20848">change 20848</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/20848"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I8ded973031beb6d8c7ad55f06641c9651b1d9e71 </div>
<div style="display:none"> Gerrit-Change-Number: 20848 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>