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() );
|
||||
if(!local)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue