[8564] Not allow use -l -s options unsupported combination in git_id call.

This commit is contained in:
VladimirMangos 2009-09-29 20:39:43 +04:00
parent bf8e801ab0
commit 8f31cf63bd
2 changed files with 8 additions and 1 deletions

View file

@ -875,6 +875,13 @@ int main(int argc, char *argv[])
}
}
if (local && do_sql)
{
printf("Options -l/--local and -s/--sql can't be used in same time currently.\n");
printf("FAILED\n");
return 1;
}
DO( find_path() );
if(!local)
{

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8563"
#define REVISION_NR "8564"
#endif // __REVISION_NR_H__