我可以列出将使用 astyle 格式化的文件吗?
Can I list files that would be formatted with astyle?
astyle是否有一个选项可以执行以下操作:
"For the given list of files, list the files that *would be* modified by astyle."
因此,基本上列出不符合astyle的文件,但实际上并没有更改它们。 我浏览了手册页,找不到任何有用的东西。 astyle 创建 .orig 文件,我可以使用该信息,但我宁愿不要弄乱驱动器,即使 astyle 可以在事后进行清除。 我真的想要这样的选择。
astyle
有一个--dry-run
选项,您可以使用它来执行此操作
--dry-run
执行试运行,不对文件进行任何更改。报告将照常输出。
相关文章:
- 将从格式化文本文件读取的文本数据存储到链表
- 如何格式化我的文本文件以使其不会一遍又一遍地重复同一行?
- 如何正确格式化csv文件?
- 简单的文本文件格式化在linux下崩溃,但在Windows中很好
- 在 Visual Studio 中格式化C++头文件
- 使用c++只读取已格式化和未格式化数据的文件中的已格式化数据
- 在C 或QT中格式化XML文件
- 加载格式化的二进制文件并将信息分配给结构 c++
- 在 c++ 中读取格式化的文本文件
- 格式化文件异常被 try catch 块忽略
- 以C++格式格式化 CSV 文件
- 我需要一些帮助以有组织的方式格式化文件
- 已知格式化文件中的数据排列
- 使用格式化结果解析搜索/替换头文件
- 在 cpp 文件中格式化 printf 语句
- 在未格式化的文本文件中插入回车
- 如何为相邻列表读取格式化文件
- 使用C++读取格式化文件
- 如何在c++中读取格式化文件
- 格式化文件- c++