diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-02-29 21:20:14 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-03-01 13:12:36 -0500 | 
| commit | 4d833e556ac21f11ca0097125293085aa1708bc4 (patch) | |
| tree | 6693c40b18d4518cd19bbf2e81d585a778d15705 /vtysh/vtysh_user.c | |
| parent | 54046401ad1ce188f1d6cd6099c7ee75e09c7328 (diff) | |
lib, vtysh: Fix 'banner motd file' command
the File to specify was inadvertently a optional parameter.
Dissallow this.
Ticket: CM-9431
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'vtysh/vtysh_user.c')
| -rw-r--r-- | vtysh/vtysh_user.c | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/vtysh/vtysh_user.c b/vtysh/vtysh_user.c index f31c5d623f..3e77264235 100644 --- a/vtysh/vtysh_user.c +++ b/vtysh/vtysh_user.c @@ -175,8 +175,11 @@ user_get (const char *name)  DEFUN (banner_motd_file,         banner_motd_file_cmd, -       "banner motd file [FILE]", -       "\n\n\n\n") +       "banner motd file FILE", +       "Set banner\n" +       "Banner for motd\n" +       "Banner from a file\n" +       "Filename\n")  {    return cmd_banner_motd_file (argv[0]);  }  | 
