[pacman-dev] [PATCH] Use "--mime" instead of file's "-i" parameter, to increase portability

Xavier shiningxc at gmail.com
Tue May 20 19:01:38 EDT 2008

On Tue, May 20, 2008 at 9:29 PM, Dan McGee <dpmcgee at gmail.com> wrote:
> On Tue, May 20, 2008 at 12:51 PM, Sebastian Nowicki <sebnow at gmail.com> wrote:
>> The equivalent of the "-i" argument for file on Linux is "-I" on BSD.
>> Both version allow the use of the long option "--mime".
>> Signed-off-by: Sebastian Nowicki <sebnow at gmail.com>
>> ---
> This seems fine, but the Arch manpage we have for file is from the BSD
> General Commands Manual and documents both -i and --mime. I do see
> that it is a 2008 revision, so perhaps older BSDs do not have the -i
> option. Seems OK otherwise- Xavier, feel free to queue this up if you
> are OK with it.

That parameter naming difference looks very stupid to me, but well,
that is a simple workaround so I am ok with it.

More information about the pacman-dev mailing list