mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[8564] Not allow use -l -s options unsupported combination in git_id call.
This commit is contained in:
parent
bf8e801ab0
commit
8f31cf63bd
2 changed files with 8 additions and 1 deletions
|
|
@ -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() );
|
DO( find_path() );
|
||||||
if(!local)
|
if(!local)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8563"
|
#define REVISION_NR "8564"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue