vtysh, doc: add doc & help text for -t/--timestamp

Signed-off-by: Quentin Young <qlyoung@nvidia.com>
This commit is contained in:
Quentin Young 2021-09-15 19:00:41 -04:00 committed by Donald Sharp
parent f887c00ad4
commit 916af6559c
2 changed files with 5 additions and 0 deletions

View File

@ -67,6 +67,10 @@ OPTIONS available for the vtysh command:
Display a usage message on standard output and exit.
.. option:: -t, --timestamp
Print a timestamp before going to shell or reading the configuration file.
.. option:: --no-fork
When used in conjunction with ``-b``, prevents vtysh from forking children to handle configuring each target daemon.

View File

@ -178,6 +178,7 @@ static void usage(int status)
"-u --user Run as an unprivileged user\n"
"-w, --writeconfig Write integrated config (frr.conf) and exit\n"
"-H, --histfile Override history file\n"
"-t, --timestamp Print a timestamp before going to shell or reading the configuration\n"
" --no-fork Don't fork clients to handle daemons (slower for large configs)\n"
"-h, --help Display this help and exit\n\n"
"Note that multiple commands may be executed from the command\n"