astyle 使用 問題

shihyuyao 2009-04-01 06:29:32
http://astyle.sourceforge.net/astyle.html


Example to format all .cpp and .h files recursively:
astyle --style=allman --recursive /home/user/project/*.cpp /home/user/project/*.h


我照上面下 astyle --style=allman --recursive xxx/*.c

不過為什麼不可以用? 我是Artistic Style 1.21

出現下面訊息
Unknown command line option: style=allman
Unknown command line option: recursive
For help on options, type 'astyle -h'




謝謝
...全文
90 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
fox000002 2009-04-01
  • 打赏
  • 举报
回复
lz 的 astyle 版本是不是有问题

先 astyle -h 看看

24,854

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 工具平台和程序库
社区管理员
  • 工具平台和程序库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧