From b5de18337a148017f5d3bfa101ee4cc25f2dee98 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Tue, 5 Aug 2014 14:37:09 +0200 Subject: Add help button. Add a help button to the parameter field to get more information about the selected command and especially about the parameter needed for the command to be properly executed. The help appears in a modal dialog whose content is updated when a command is selected. --- config.php.example | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'config.php.example') diff --git a/config.php.example b/config.php.example index d5ac948..fc093c1 100644 --- a/config.php.example +++ b/config.php.example @@ -30,6 +30,24 @@ $config['misc']['allow_private_asn'] = false; $config['filters'][] = '/(client1|client2)/'; $config['filters'][] = '/^NotToShow/'; +// Documentation for commands (must be HTML) + +// Documentation for the 'show route' query +$config['doc']['bgp']['query'] = 'Show the best routes to a given destination.'; +$config['doc']['bgp']['parameter'] = 'The parameter must be a valid destination. Destination means an IPv4/IPv6 address or a subnet. Masks are also accepted as part of a valid IPv4/IPv6 address.
Please note that some routers always need a mask to be given when looking for an IPv6 address.

Example of valid arguments: