]> granicus.if.org Git - apache/commitdiff
rotatelogs: fix -n help text
authorEric Covener <covener@apache.org>
Thu, 26 Jan 2017 02:02:59 +0000 (02:02 +0000)
committerEric Covener <covener@apache.org>
Thu, 26 Jan 2017 02:02:59 +0000 (02:02 +0000)
this closes #24

Submitted By: Isaac Boukris <iboukris gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1780308 13f79535-47bb-0310-9956-ffa450edef68

support/rotatelogs.c

index 87a26a4d08ebdd1ca385f61040c994032d4259dd..b5c0e8937e0dc7c905ef103ff2a25aeb9aad0fe9 100644 (file)
@@ -149,7 +149,7 @@ static void usage(const char *argv0, const char *reason)
 #if APR_FILES_AS_SOCKETS
             "  -c       Create log even if it is empty.\n"
 #endif
-            "  -n num   Rotate file by adding suffixes '.0', '.1', ..., '.(num-1)'.\n"
+            "  -n num   Rotate file by adding suffixes '.1', '.2', ..., '.num'.\n"
             "\n"
             "The program for '-p' is invoked as \"[prog] <curfile> [<prevfile>]\"\n"
             "where <curfile> is the filename of the newly opened logfile, and\n"