mbox

[7/8] zone: change edit syntax for config.

Message ID 1499264393-13700-7-git-send-email-jonatan.schlag@ipfire.org
State Accepted
Commit e6a03d560a89a9a749f520fab6279a1f12a6520e
Headers

Message

Jonatan Schlag July 6, 2017, 12:19 a.m. UTC
  The syntax to edit a config is now

network zone upl0 config <id> edit

similar to the syntax if a zone is edited.

The cmd variable is setted to the content of ${1},
because we need the content in this variable if the ${id} is not valid, to print a nice error message.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
---
 src/functions/functions.zone | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)