summaryrefslogtreecommitdiff
path: root/protocols/Telegram/tdlib/td/format.sh
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/tdlib/td/format.sh')
-rw-r--r--protocols/Telegram/tdlib/td/format.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Telegram/tdlib/td/format.sh b/protocols/Telegram/tdlib/td/format.sh
index 64280e3384..47d21ee527 100644
--- a/protocols/Telegram/tdlib/td/format.sh
+++ b/protocols/Telegram/tdlib/td/format.sh
@@ -1,2 +1,3 @@
#!/bin/sh
-./src.sh | grep -v CxCli.h | grep -iv dotnet | xargs -n 1 clang-format -verbose -style=file -i
+cd $(dirname $0)
+./src.sh | grep -v CxCli.h | grep -v DotNet | grep -v tl/tl_dotnet_object.h | grep -v /tl-parser/ | xargs -n 1 clang-format -verbose -style=file -i