" * CREATE {REPOSITORY|REPO} '<repository>'; Create a repository.\n"
" * DELETE {REPOSITORY|REPO} '<repository>'; Create a repository.\n"
" * COMMIT; Write the authz file in the repositories parent dir.\n"
" * LIST {REPOSITORY|REPO}; Get the list of repositories.\n"
" * LIST {PRIVILEGES|PRIV} ['<user>']; Get the list of privileges associed to the user '<user>', otherwise all privileges.\n"
" * GRANT {READ|WRITE} TO '<user or role>' ON '<repository>' ['<location>']; Grant an user to read or read and write on all or specified repository at a location (default : \"/\").\n"
" * REVOKE ALL FROM '<user or role>' ON {ALL|'<repository>'} [{ALL|'<location>'}]; Revoke an user from all privileges on all or specified repository at a location (default : \"/\").\n"
" * VERSION; Get the version.\n"
" * REVISION; Get the revision (SVN).\n"
" * BUILD; Get the build date.\n"
" NB:\n{choice|other choice} => choice or other choice.\n[Option] => this is an option.\n");
}else{
returnError("AM >> HELP request error.");
}
}elseif(equ(elts.at(0),"VERSION")){// KW
if(checkNb("VERSION",1)){
returnMessage(_UNI_VERSION);
}
}elseif(equ(elts.at(0),"BUILD")){// KW
if(checkNb("BUILD",1)){
returnMessage(__DATE__" "__TIME__);
}
}elseif(equ(elts.at(0),"REVISION")){// KW
if(checkNb("REVISION",1)){
returnMessage(_UNI_REVISION);
}
}elseif(equ(elts.at(0),"COMMIT")){// KW
if(checkNb("COMMIT",1)&&checkIsFlagAdmin()){
if(CUniSvnManager::svn->commitAuthz()){
returnMessage("commited.");
}else{
returnError("fatal error");
}
}
}elseif(equ(elts.at(0),"LIST")){// KW KW
if(elts.size()<2){
returnError("AM >> The command \"LIST\" require 2 arguments at least.");