NiLuJe / FBInk

FrameBuffer eInker, a small tool & library to print text & images to an eInk Linux framebuffer
https://www.mobileread.com/forums/showthread.php?t=299110
GNU General Public License v3.0
315 stars 23 forks source link

Option for -i, --img is referenced but undefined #58

Closed fulldecent closed 3 years ago

fulldecent commented 3 years ago

The -g, --image option is defined at https://github.com/NiLuJe/FBInk/blob/master/fbink_cmd.c#L287

But in the examples, it is also mentioned of a -i, --img option at https://github.com/NiLuJe/FBInk/blob/master/fbink_cmd.c#L299 (and other places)

This -i, --img has no definition.

Please define this in the documentation.

NiLuJe commented 3 years ago

It's a hack to bypass getsubopt limitations with forbidden token-like characters in the arguments. (i.e., -i == -g:file).

Not quite sure there's a sane way to deal with that besides the existing comments?

NiLuJe commented 3 years ago

(By which I mean https://github.com/NiLuJe/FBInk/blob/master/fbink_cmd.c#L316)