[Gluster-devel] ./rfc.sh not pushing patch to gerrit

Sachidananda URS surs at redhat.com
Fri Oct 5 05:06:39 UTC 2018


 [rgowdapp at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20181005/eb098610/attachment.html>


More information about the Gluster-devel mailing list