#807094 fbi: does not honor '--' option terminator convention

Package:
fbi
Source:
fbi
Description:
Linux frame buffer image viewer
Submitter:
Daniel Shahaf
Date:
2015-12-05 10:15:09 UTC
Severity:
normal
#807094#5
Date:
2015-12-05 10:13:18 UTC
From:
To:
Dear Maintainer,

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I invoked 'fbi' as 'fbi -- foo.jpg'

   * What was the outcome of this action?

In the status line: "--: loading FAILED"

In stderr: "open --: No such file or directory"

Exit code: 1

   * What outcome did you expect instead?

I expected the "--" to be interpreted, not as a positional argument, but as an
option terminator, as with many other commands.  That is, I expected the same
behaviour as 'fbi foo.jpg': successfully display foo.jpg and exit code zero.

Cheeers,

Daniel

P.S. I tested in a sid chroot and in a sid VM, but couldn't get fbi to
work in either: I always got "open /dev/fb0: No such file or directory"
regardless of whether I passed '--' or not.