https://bugs.documentfoundation.org/show_bug.cgi?id=152192

--- Comment #3 from Mike Kaganski <[email protected]> ---
Adding an optional argument that would provide an output name for an
immediately preceding filename (only working in conversion mode) would likely
be the best option. It could be either relative name (then --outdir would still
be reasonable), or absolute (then --outdir would be irrelevant, simply ignored
without a diagnostic).

A check of extension is not needed. Why? LibreOffice itself relies on file type
detection based on content; it's not uncommon to have CSVs named differently
(TSV, DAT, TXT, even XLS); and so why not trust user who may have their
reasons? You never provided a rationale for the suggested check.

A code pointer: start at desktop/source/app/cmdlineargs.cxx [1]

[1]
https://opengrok.libreoffice.org/xref/core/desktop/source/app/cmdlineargs.cxx?r=ebd697df#284

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to