]> git.proxmox.com Git - mirror_frr.git/commit - vtysh/vtysh_user.c
doc, vtysh: Fixup of history handling
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 13 Jan 2016 18:49:50 +0000 (10:49 -0800)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 13 Jan 2016 18:49:50 +0000 (10:49 -0800)
commitfba55c8ac3d0068c694c98c2b641c622b8a6f189
treec2d665d03d0b6fc5346a5fd4a7885c8ca786a3cb
parentd4573a1274ce549502ff18a7b8ebad5e4904359a
doc, vtysh: Fixup of history handling

This fix does two things:

1) If the ${HOME}/.history_quagga file does not exist, create it
for history storing.
2) Allow vtysh -c "..." commands to be stored in history file
as well

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
doc/vtysh.1
vtysh/vtysh_main.c
vtysh/vtysh_user.c
vtysh/vtysh_user.h