From 3eaf0765b0e49e5369bef9b3f33fe7da3da91cee Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 3 Jan 2020 09:45:33 +0100 Subject: [PATCH] client: add missing commands to tab-completion Reported-by: Lonnie Abelbeck --- client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.c b/client.c index e49a25a..e084829 100644 --- a/client.c +++ b/client.c @@ -1298,11 +1298,11 @@ command_name_generator(const char *text, int state) "maxupdateskew", "minpoll", "minstratum", "ntpdata", "offline", "online", "onoffline", "polltarget", "quit", "refresh", "rekey", "reselect", "reselectdist", "retries", "rtcdata", "serverstats", "settime", "shutdown", "smoothing", - "smoothtime", "sources", "sourcestats", + "smoothtime", "sourcename", "sources", "sourcestats", "timeout", "tracking", "trimrtc", "waitsync", "writertc", NULL }; - const char *add_options[] = { "peer", "server", NULL }; + const char *add_options[] = { "peer", "pool", "server", NULL }; const char *manual_options[] = { "on", "off", "delete", "list", "reset", NULL }; const char *sources_options[] = { "-v", NULL }; const char *sourcestats_options[] = { "-v", NULL };