From 62026ca49b5bff063a06e3b49864947e65cea426 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Wed, 6 Aug 2014 00:09:50 +0200 Subject: Reminder of the command in the help modal. --- css/style.css | 2 +- includes/config.defaults.php | 15 ++++++++++----- index.php | 4 ++-- js/looking-glass.js | 3 ++- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/css/style.css b/css/style.css index 2cc53ba..1bae099 100644 --- a/css/style.css +++ b/css/style.css @@ -62,7 +62,7 @@ body { margin-left: auto; margin-right: auto; } -#command-help, #parameter-help { +#description-help, #parameter-help { font-size: 1.3em; } pre { diff --git a/includes/config.defaults.php b/includes/config.defaults.php index 4821da8..1c703eb 100644 --- a/includes/config.defaults.php +++ b/includes/config.defaults.php @@ -31,27 +31,32 @@ $config = array ( 'doc' => array ( // Documentation for the 'show route' query 'bgp' => array( - 'query' => 'Show the best routes to a given destination.', + 'command' => 'show route IP_ADDRESS', + 'description' => 'Show the best routes to a given destination.', '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: