chore, conditionalise on returned tag id

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, refactor tag adding guts into (local) add_tag() in rotz-add tool

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, read symbols from stdin if only TAG is provided in rotz-add

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, conditionalise on vertex returned for symspc_sym in add_tag()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, document that rotz-add would read symbols from stdin

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, refuse to glue symbols or tags of length 0

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, don't hardcode prefix sizes in rotz_glue() code

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, follow-up, don't try and add NULL vertices

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, remove newline (\n) from stdin lines read

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'cmd/add' into next

* cmd/add:
  fix, remove newline (\n) from stdin lines read
  fix, follow-up, don't try and add NULL vertices
  minor, don't hardcode prefix sizes in rotz_glue() code
  minor, refuse to glue symbols or tags of length 0
  chore, document that rotz-add would read symbols from stdin
  chore, conditionalise on vertex returned for symspc_sym in add_tag()
  minor, read symbols from stdin if only TAG is provided in rotz-add
  minor, refactor tag adding guts into (local) add_tag() in rotz-add tool
  chore, conditionalise on returned tag id
hygiene, obey our own rule to return on errors, instead of doing something in the case of non-errors

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, refactor edg iterator body in rotz-show

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, try both tag space and sym space for arguments passed to rotz-show

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, strip off tag space or sym space prefix from results in show_tagsym()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'cmd/show' into next

* cmd/show:
  minor, strip off tag space or sym space prefix from results in show_tagsym()
  minor, try both tag space and sym space for arguments passed to rotz-show
  minor, refactor edg iterator body in rotz-show
  hygiene, obey our own rule to return on errors, instead of doing something in the case of non-errors
Merge branch 'next'

* next:
  minor, strip off tag space or sym space prefix from results in show_tagsym()
  minor, try both tag space and sym space for arguments passed to rotz-show
  minor, refactor edg iterator body in rotz-show
  hygiene, obey our own rule to return on errors, instead of doing something in the case of non-errors
  fix, remove newline (\n) from stdin lines read
  fix, follow-up, don't try and add NULL vertices
  minor, don't hardcode prefix sizes in rotz_glue() code
  minor, refuse to glue symbols or tags of length 0
  chore, document that rotz-add would read symbols from stdin
  chore, conditionalise on vertex returned for symspc_sym in add_tag()
  minor, read symbols from stdin if only TAG is provided in rotz-add
  minor, refactor tag adding guts into (local) add_tag() in rotz-add tool
  chore, conditionalise on returned tag id