libosmocore/src/vty
Neels Hofmeyr 453e37e3c8 VTY reference: use node names as section names
In 'show online-help' output, add the node names (currently all derived from
the prompt) as <node><name> entry, so that in the osmo-gsm-manuals, each
section of node commands gets a title. So far, each section of commands has no
name at all, and it is entirely up for guessing which part of the VTY the
commands are about.

Node section names, e.g. for OsmoHLR, will be like

  1 VTY reference
  1.4 config
  1.5 config-log
  1.6 config-line
  1.7 config-ctrl
  1.8 config-hlr
  1.9 config-hlr-gsup

Before this patch, all but '1 VTY reference' were plain empty.

A better solution would be to list the actual command name that enters the
node, and to nest the commands identically to VTY node nesting, but since this
information is currently hidden in node command implementations, it is
impossible to derive it. So we should actually make the VTY reflect the node
nesting structure in its data model, which would resolve both the accurate node
name problem as well as produce well-structured output to generate the VTY
references from. This patch is a workaround for lack of a more profound fix of
the VTY data model. At least it makes the VTY references' sections even
remotely useful.

Change-Id: Iaf745b2ab3d9b02fc47025a0eba3beb711068bfe
2017-12-10 13:34:35 +00:00
..
Makefile.am Move additional libraries to appropriate place 2017-10-30 13:50:31 +01:00
buffer.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
command.c VTY reference: use node names as section names 2017-12-10 13:34:35 +00:00
fsm_vty.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
logging_vty.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
stats_vty.c vty: show asciidoc counters: don't create an empty table for osmo_counters 2017-12-05 16:12:18 +01:00
talloc_ctx_vty.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
telnet_interface.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
utils.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
vector.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
vty.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00