From: Mark Wooding Date: Wed, 6 Sep 2017 11:25:31 +0000 (+0100) Subject: server/admin.c: Fix ordering of commands in the help list. X-Git-Tag: 1.5.0~102 X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/commitdiff_plain/405fc4dacbe6be6ae706217bf8489d0a872a88cd server/admin.c: Fix ordering of commands in the help list. And the manual. Oops. --- diff --git a/server/admin.c b/server/admin.c index 5e6c7d87..867c4247 100644 --- a/server/admin.c +++ b/server/admin.c @@ -1984,6 +1984,7 @@ static const acmd acmdtab[] = { { "reload", 0, 0, 0, acmd_reload }, { "servinfo", 0, 0, 0, acmd_servinfo }, { "setifname", "PEER NEW-NAME", 2, 2, acmd_setifname }, + { "stats", "PEER", 1, 1, acmd_stats }, { "svcclaim", "SERVICE VERSION", 2, 2, acmd_svcclaim }, { "svcensure", "SERVICE [VERSION]", 1, 2, acmd_svcensure }, { "svcfail", "JOBID TOKENS...", 1, 0xffff, acmd_svcfail }, @@ -1994,7 +1995,6 @@ static const acmd acmdtab[] = { { "svcrelease", "SERVICE", 1, 1, acmd_svcrelease }, { "svcsubmit", "[OPTIONS] SERVICE TOKENS...", 2, 0xffff, acmd_svcsubmit }, - { "stats", "PEER", 1, 1, acmd_stats }, #ifndef NTRACE { "trace", "[OPTIONS]", 0, 1, acmd_trace }, #endif diff --git a/server/tripe-admin.5.in b/server/tripe-admin.5.in index 5d01226a..af6c97a5 100644 --- a/server/tripe-admin.5.in +++ b/server/tripe-admin.5.in @@ -710,6 +710,13 @@ This is useful if firewalling decisions are made based on interface names: a setup script for a particular peer can change the name, and then update the server's records so that they're accurate. .SP +.BI "STATS " peer +Emits a number of +.B INFO +lines, each containing one or more statistics in the form +.IB name = value \fR. +The statistics-gathering is experimental and subject to change. +.SP .BI "SVCCLAIM " service " " version Attempts to claim the named .IR service , @@ -812,13 +819,6 @@ of the service is available before submitting the job. .RE .\"-opts .SP -.BI "STATS " peer -Emits a number of -.B INFO -lines, each containing one or more statistics in the form -.IB name = value \fR. -The statistics-gathering is experimental and subject to change. -.SP .BR "TRACE " [\fIoptions\fP] Selects trace outputs: see .B "Trace lists"