Changes between Initial Version and Version 2 of Ticket #569


Ignore:
Timestamp:
08/12/11 11:15:52 (13 years ago)
Author:
Olly Betts
Comment:

Looking into this, I'm not really sure how to improve this - the option right above -F makes it pretty clear that the MIME type can comes from the file extension:

  -M, --mime-type=EXT:TYPE map file extension EXT to MIME Content-Type TYPE
                           (empty TYPE removes any MIME mapping for EXT)

And if we add too much verbiage here, it stops being so useful for quick reference and ends up just duplicating the main documentation.

Thoughts?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #569

    • Property Status newassigned
    • Property Milestone1.3.0
    • Property Summary omindex man page -F text misleadingomindex --help text for -F misleading
  • Ticket #569 – Description

    initial v2  
    11From the omindex man page:
    22
     3{{{
    34-F, --filter=TYPE:CMD
    45    process files with MIME Content-Type TYPE using command CMD, which should produce UTF-8 text on stdout e.g. -Fapplica‐tion/octet-stream:'strings -n8
     6}}}
    57
    68This could be understood to mean that omindex examines files to determine their MIME type (I understood it that way) but from Olly's posting, subject "Re: [Xapian-discuss] Tika 0.8 failure rates", date 5oct11: