diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2023-06-22 13:31:27 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-22 13:31:27 -0500 |
| commit | 499eae6c6b0914d6506d33b571fc7cf439de50c1 (patch) | |
| tree | 711bc8c2f734dfc02e8ed1c3f1feb022e12ebb9b /lib/command.c | |
| parent | 4fa21aaae034281198b8106933c954896ada7344 (diff) | |
| parent | 459848ded75d7327725f3baca05800c0bcf30c3c (diff) | |
Merge pull request #13795 from LabNConsulting/chopps/mgmt-lock-cleanup
mgmt lock simplification
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 */ |
