<p style="white-space: pre-wrap; word-wrap: break-word;">I don't like this patch but if you fix the string issues I'm not blocking anymore.</p><p>Patch set 5:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p><a href="https://gerrit.osmocom.org/11654">View Change</a></p><p>4 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11654/3/src/osmo-bsc/bsc_vty.c">File src/osmo-bsc/bsc_vty.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11654/3/src/osmo-bsc/bsc_vty.c@3916">Patch Set #3, Line 3916:</a> <code style="font-family:monospace,monospace">       "T-number, optionally preceded by 't' or 'T'.")</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Following your logic, it's clear that in "foo bar?", ? applies only to last parameter, and not to wh […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">This is about the user typing on the vty and reading the online help. I think above example did show that user experience.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I still think this isn't nice:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  > no timer-dynamic?<br>  Calculate T3113 dynamically based on channel config and load</pre><p style="white-space: pre-wrap; word-wrap: break-word;">because in all cases I know, the help string is useful for the entire command issued so far, not assuming that the user is manually negating what is being said.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11654/5/src/osmo-bsc/bsc_vty.c">File src/osmo-bsc/bsc_vty.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11654/5/src/osmo-bsc/bsc_vty.c@3940">Patch Set #5, Line 3940:</a> <code style="font-family:monospace,monospace"> "Calculate T3113 dynamically based on channel config and load\n"</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">as I said, I still think this is misleading and not nice.</p><p style="white-space: pre-wrap; word-wrap: break-word;">If you really must do this, then at least define a common FOO_STR instead of duping the char constant.</p><p style="white-space: pre-wrap; word-wrap: break-word;">But I'd still urge you to rather fix the vty online doc for the 'no' case.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11654/5/src/osmo-bsc/bsc_vty.c@3941">Patch Set #5, Line 3941:</a> <code style="font-family:monospace,monospace">     "T-number, optionally preceded by 't' or 'T'.")</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">here is another FOO_STR candidate.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11654/5/src/osmo-bsc/bsc_vty.c@3955">Patch Set #5, Line 3955:</a> <code style="font-family:monospace,monospace">               vty_out(vty, "T%d has no dynamic%s", d->T, VTY_NEWLINE);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">so you also disagree with the other thing I said...</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/11654">change 11654</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/11654"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I4fb2969b690151415038631fb6ad059aa6835c7f </div>
<div style="display:none"> Gerrit-Change-Number: 11654 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Stefan Sperling <stsp@stsp.name> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 04 Dec 2018 17:11:33 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>