Re: Checking whether program foo supports option --bar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/1/22 09:08, Sébastien Hinderer wrote:
Is there a conventional / recommended way to test whether a program
supports a given command-line option?

You can use either AS_IF or plain sh 'if', depending on how complicated the then- and else- parts are.





[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux