You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2012/12/28 17:36:06 UTC
svn commit: r1426572 -
/subversion/trunk/tools/server-side/svnauthz-validate.c
Author: breser
Date: Fri Dec 28 16:36:06 2012
New Revision: 1426572
URL: http://svn.apache.org/viewvc?rev=1426572&view=rev
Log:
Rename FILE to TARGET in svnauthz-validate's usage.
* tools/server-side/svnauthz-validate.c
(usage): s/FILE/TARGET/ and add text explaining that a path is ok.
Modified:
subversion/trunk/tools/server-side/svnauthz-validate.c
Modified: subversion/trunk/tools/server-side/svnauthz-validate.c
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/server-side/svnauthz-validate.c?rev=1426572&r1=1426571&r2=1426572&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/svnauthz-validate.c (original)
+++ subversion/trunk/tools/server-side/svnauthz-validate.c Fri Dec 28 16:36:06 2012
@@ -45,13 +45,13 @@ enum {
static int
usage(const char *argv0)
{
- printf("Usage: %s [--username USER] [[--path FSPATH] [--repository REPOS_NAME]] FILE\n\n", argv0);
- printf("Loads the authz file at FILE and validates its syntax.\n"
+ printf("Usage: %s [--username USER] [[--path FSPATH] [--repository REPOS_NAME]] TARGET\n\n", argv0);
+ printf("Loads the authz file at TARGET and validates its syntax.\n"
"Optionally prints the access available to USER for FSPATH in\n"
"repository with authz name REPOS_NAME. If FSPATH is omitted, reports\n"
"whether USER has any access at all.\n"
- "FILE can also be an absolute file:// URL to a authz file in a\n"
- "repository, but cannot be a repository relative URL (^/).\n"
+ "TARGET can be a path to a file or an absolute file:// URL to an authz\n"
+ "file in a repository, but cannot be a repository relative URL (^/).\n"
"Returns:\n"
" 0 when syntax is OK.\n"
" 1 when syntax is invalid.\n"