diff --git a/client.c b/client.c
index 5a05f24..31fbf58 100644
--- a/client.c
+++ b/client.c
@@ -1109,9 +1109,11 @@ check_reply_auth(CMD_Reply *msg)
static void
give_help(void)
{
- printf("205 - Help follows\n");
+ printf("Commands:\n");
printf("accheck
: Check whether NTP access is allowed to \n");
printf("activity : Check how many NTP sources are online/offline\n");
+ printf("add peer ... : Add a new NTP peer\n");
+ printf("add server ... : Add a new NTP server\n");
printf("allow [] : Allow NTP access to that subnet as a default\n");
printf("allow all [] : Allow NTP access to that subnet and all children\n");
printf("burst / [/] : Start a rapid set of measurements\n");
@@ -1122,25 +1124,23 @@ give_help(void)
printf("cmddeny [] : Deny command access to that subnet as a default\n");
printf("cmddeny all [] : Deny command access to that subnet and all children\n");
printf("cyclelogs : Close and re-open logs files\n");
+ printf("delete : Remove an NTP server or peer\n");
printf("deny [] : Deny NTP access to that subnet as a default\n");
printf("deny all [] : Deny NTP access to that subnet and all children\n");
printf("dump : Dump all measurements to save files\n");
- printf("exit : Leave the program\n");
- printf("help : Generate this help\n");
printf("local off : Disable server capability for unsynchronised clock\n");
printf("local stratum : Enable server capability for unsynchronised clock\n");
printf("makestep : Jump the time to remove any correction being slewed\n");
printf("manual off|on|reset : Disable/enable/reset settime command and statistics\n");
printf("manual list : Show previous settime entries\n");
- printf("minpoll : Modify minimum polling interval of source\n");
printf("maxdelay : Modify maximum round-trip valid sample delay for source\n");
printf("maxdelayratio : Modify max round-trip delay ratio for source\n");
printf("maxpoll : Modify maximum polling interval of source\n");
printf("maxupdateskew : Modify maximum skew for a clock frequency update to be made\n");
+ printf("minpoll : Modify minimum polling interval of source\n");
printf("offline [/] : Set sources in subnet to offline status\n");
printf("online [/] : Set sources in subnet to online status\n");
printf("password [] : Set command authentication password\n");
- printf("quit : Leave the program\n");
printf("rtcdata : Print current RTC performance parameters\n");
printf("settime : Manually set the daemon time\n");
printf("sources [-v] : Display information about current sources\n");
@@ -1148,7 +1148,12 @@ give_help(void)
printf("tracking : Display system time information\n");
printf("trimrtc : Correct RTC relative to system clock\n");
printf("writertc : Save RTC parameters to file\n");
- printf(".\n");
+ printf("\n");
+ printf("dns -n|+n : Disable/enable resolving IP addresses to hostnames\n");
+ printf("dns -4|-6|-46 : Resolve hostnames only to IPv4/IPv6/both addresses\n");
+ printf("exit|quit : Leave the program\n");
+ printf("help : Generate this help\n");
+ printf("\n");
}
/* ================================================== */