mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-20 23:32:22 +08:00
tab统一替换为4个空格键:#242
This commit is contained in:
@@ -126,6 +126,7 @@ void process_file(const char *file,bool rm_bom){
|
||||
InfoL << (rm_bom ? "删除" : "添加") << "bom:" << file;
|
||||
}
|
||||
|
||||
/// 这个程序是为了统一添加或删除utf-8 bom头
|
||||
int main(int argc, char *argv[]) {
|
||||
CMD_main cmd_main;
|
||||
try {
|
||||
@@ -148,7 +149,7 @@ int main(int argc, char *argv[]) {
|
||||
bool no_filter = filter_set.find("*") != filter_set.end();
|
||||
//设置日志
|
||||
Logger::Instance().add(std::make_shared<ConsoleChannel>());
|
||||
|
||||
path = File::absolutePath(path, "");
|
||||
for_each_file(path.data(),[&](const char *path){
|
||||
if(!no_filter){
|
||||
//开启了过滤器
|
||||
|
||||
Reference in New Issue
Block a user