diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2023-06-25 10:22:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-25 10:22:34 -0500 |
| commit | 64ef7364c6c4ef8a0db7f47fdd9de4e451763702 (patch) | |
| tree | 13878218d483ef79438e03ce6375969878b6ea02 /lib/command.c | |
| parent | 0ea4297e3c3e55d3894820f9359215b6957fa213 (diff) | |
| parent | 6dccdb9b0d1b3bbf04196f712ebccf9a8f39e47e (diff) | |
Merge pull request #13846 from LabNConsulting/chopps/backport-13795frr-9.0-rc
backport of #13795
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c index 0995637219..8025ab534f 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1333,11 +1333,12 @@ int config_from_file(struct vty *vty, FILE *fp, unsigned int *line_num) /* Configuration from terminal */ DEFUN (config_terminal, config_terminal_cmd, - "configure [terminal]", + "configure [terminal [file-lock]]", "Configuration from vty interface\n" + "Configuration with locked datastores\n" "Configuration terminal\n") { - return vty_config_enter(vty, false, false); + return vty_config_enter(vty, false, false, argc == 3); } /* Enable command */ |
