<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/20458">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  dexter: 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 global command attribute CMD_ATTR_NODE_EXIT<br><br>Change-Id: I56306f4886a72a3525b60225721aa2fcf7c57213<br>Related: SYS#4937<br>---<br>M include/osmocom/vty/command.h<br>M src/vty/command.c<br>2 files changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h</span><br><span>index 43ad3da..f558bb1 100644</span><br><span>--- a/include/osmocom/vty/command.h</span><br><span>+++ b/include/osmocom/vty/command.h</span><br><span>@@ -138,6 +138,7 @@</span><br><span>         CMD_ATTR_DEPRECATED     = (1 << 0),</span><br><span>    CMD_ATTR_HIDDEN         = (1 << 1),</span><br><span>    CMD_ATTR_IMMEDIATE      = (1 << 2),</span><br><span style="color: hsl(120, 100%, 40%);">+     CMD_ATTR_NODE_EXIT      = (1 << 3),</span><br><span> };</span><br><span> </span><br><span> /*! Structure of a command element */</span><br><span>diff --git a/src/vty/command.c b/src/vty/command.c</span><br><span>index 30c39a7..b472f6d 100644</span><br><span>--- a/src/vty/command.c</span><br><span>+++ b/src/vty/command.c</span><br><span>@@ -626,6 +626,7 @@</span><br><span>  { CMD_ATTR_DEPRECATED,          "This command is deprecated" },</span><br><span>    { CMD_ATTR_HIDDEN,              "This command is hidden" },</span><br><span>        { CMD_ATTR_IMMEDIATE,           "This command applies immediately" },</span><br><span style="color: hsl(120, 100%, 40%);">+       { CMD_ATTR_NODE_EXIT,           "This command applies on VTY node exit" },</span><br><span>         { 0, NULL }</span><br><span> };</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/20458">change 20458</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/+/20458"/><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: I56306f4886a72a3525b60225721aa2fcf7c57213 </div>
<div style="display:none"> Gerrit-Change-Number: 20458 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>