General options: -help - Display available options (-help-hidden for more) -help-list - Display list of available options (-help-list-hidden for more) -version - Display the version of this program [rgowdapp@rgowdapp ~]$ clang-format -version ; echo $? LLVM (http://llvm.org/): LLVM version 3.4.2 Optimized build. Built Dec 7 2015 (09:37:36). Default target: x86_64-redhat-linux-gnu Host CPU: x86-64 1
On Fri, Oct 5, 2018 at 10:37 AM Sachidananda URS <[email protected]> wrote: > > > > [rgowdapp@rgowdapp glusterfs]$ clang-format --version ; echo $? >> LLVM (http://llvm.org/): >> LLVM version 3.4.2 >> Optimized build. >> Built Dec 7 2015 (09:37:36). >> Default target: x86_64-redhat-linux-gnu >> Host CPU: x86-64 >> 1 >> >> Wonder why clang-format --version has to return non-zero return code >> though. >> > > Maybe because the syntax is `clang-format -version' not --version. > In the newer releases both -version and --version return 0. > You can try -version, if it returns 0. We can fix `rfc.sh' > > But, what they document is -version. > > >
_______________________________________________ Gluster-devel mailing list [email protected] https://lists.gluster.org/mailman/listinfo/gluster-devel
