Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/159.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 我可以列出用astyle格式化的文件吗?_C++_C_Coding Style_Astyle - Fatal编程技术网

C++ 我可以列出用astyle格式化的文件吗?

C++ 我可以列出用astyle格式化的文件吗?,c++,c,coding-style,astyle,C++,C,Coding Style,Astyle,astyle是否有这样的选项: "For the given list of files, list the files that *would be* modified by astyle." 因此,基本上列出不符合astyle的文件,但实际上不更改它们。我浏览了手册页,找不到任何有用的东西。astyle创建.orig文件,我可以使用这些信息,但我不想把驱动器弄得乱七八糟,即使astyle可以在事后进行清理。我真的希望有这样一个选择。astyle有一个可以用来实现这一点的工具 --试运行 在

astyle是否有这样的选项:

"For the given list of files, list the files that *would be* modified by astyle."
因此,基本上列出不符合astyle的文件,但实际上不更改它们。我浏览了手册页,找不到任何有用的东西。astyle创建.orig文件,我可以使用这些信息,但我不想把驱动器弄得乱七八糟,即使astyle可以在事后进行清理。我真的希望有这样一个选择。

astyle
有一个可以用来实现这一点的工具

--试运行

在不更改文件的情况下执行试运行。报告将照常输出


很高兴知道为什么我这个问题得了-1分?反馈很好,这样我就可以改进我的帖子了。谢谢。好的,现在我很好抱歉,太好了!在我找到的任何
man
页面中都没有提到它,但建议检查源代码将是我的下一个建议。