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

Raghavendra Gowdappa rgowdapp at redhat.com
Fri Oct 5 05:11:02 UTC 2018


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 at 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 <surs at redhat.com> wrote:

>
>
>
>  [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/ba821c32/attachment.html>


More information about the Gluster-devel mailing list