aboutsummaryrefslogtreecommitdiffstats
path: root/fbi.c
diff options
context:
space:
mode:
authorStéphane Aulery <lkppo@free.fr>2012-01-27 00:22:41 +0100
committerGerd Hoffmann <kraxel@redhat.com>2012-01-27 12:18:38 +0100
commit1c89a4dd1cb65901ab561135415af681b3e0a6f2 (patch)
tree9a527cc716ebf8a78f7d2cd1be5e4e80fbaa7d48 /fbi.c
parent3d8b2d19bb25359c22fb05c3c8386a3bf3e1fdea (diff)
downloadfbida-1c89a4dd1cb65901ab561135415af681b3e0a6f2.tar.gz
Complete fbi manpage, add its french translation, and make consistant fbi help messages
fbi.c: * Fix copyright * Complete help message (webp format) et improve words wrap * Make message of "h" command consistant with fbi.man fbi.man: * .SH et .BR commands fix * Improve words wrap * Explicit "-d" argument * Add missing "a" command * Some typos * Reorder commands * Group author and copyright sections fbi.man.fr: * French translation of fbi.man
Diffstat (limited to 'fbi.c')
-rw-r--r--fbi.c37
1 files changed, 20 insertions, 17 deletions
diff --git a/fbi.c b/fbi.c
index 547c1d0..fc47a12 100644
--- a/fbi.c
+++ b/fbi.c
@@ -162,7 +162,7 @@ version(void)
{
fprintf(stderr,
"fbi version " VERSION ", compiled on %s\n"
- "(c) 1999-2006 Gerd Hoffmann <kraxel@bytesex.org> [SUSE Labs]\n",
+ "(c) 1999-2012 Gerd Hoffmann <kraxel@bytesex.org> [SUSE Labs]\n",
__DATE__ );
}
@@ -176,8 +176,8 @@ usage(char *name)
fprintf(stderr,
"\n"
"This program displays images using the Linux framebuffer device.\n"
- "Supported formats: PhotoCD, jpeg, ppm, gif, tiff, xwd, bmp, png.\n"
- "It tries to use ImageMagick's convert for unknown file formats.\n"
+ "Supported formats: PhotoCD, jpeg, ppm, gif, tiff, xwd, bmp, png,\n"
+ "webp. It tries to use ImageMagick's convert for unknown file formats.\n"
"\n"
"usage: %s [ options ] file1 file2 ... fileN\n"
"\n",
@@ -191,7 +191,7 @@ usage(char *name)
"Large images can be scrolled using the cursor keys. Zoom in/out\n"
"works with '+' and '-'. Use ESC or 'q' to quit. Space and PgDn\n"
"show the next, PgUp shows the previous image. Jumping to a image\n"
- "works with <number>g. Return acts like Space but additionally\n"
+ "works with <i>g. Return acts like Space but additionally prints\n"
"prints the filename of the currently displayed image to stdout.\n"
"\n");
}
@@ -529,23 +529,26 @@ static void show_help(void)
static wchar_t *help[] = {
L"keyboard commands",
L"~~~~~~~~~~~~~~~~~",
- L" ESC, Q - quit",
- L" pgdn, space - next image",
- L" pgup - previous image",
- L" +/- - zoom in/out",
- L" A - autozoom image",
- L" cursor keys - scroll image",
+ L" cursor keys - scroll image",
+ L" PgUp, k - previous image",
+ L" PgDn, SPACE, j - next image",
+ L" <i>g - jump to image #i",
L"",
- L" H - show this help text",
- L" I - show EXIF info",
- L" P - pause slideshow",
- L" V - toggle statusline",
+ L" a - autozoom image",
+ L" +/- - zoom in/out",
+ L" <i>s - set zoom to <i>%",
+ L"",
+ L" ESC, q - quit",
+ L" v - toggle statusline",
+ L" h - show this help text",
+ L" i - show EXIF info",
+ L" p - pause slideshow",
L"",
L"available if started with --edit switch,",
L"rotation works for jpeg images only:",
- L" shift+D - delete image",
- L" R - rotate clockwise",
- L" L - rotate counter-clockwise",
+ L" D, Shift+d - delete image",
+ L" r - rotate clockwise",
+ L" l - rotate counter-clockwise",
};
shadow_draw_text_box(face, 24, 16, transparency,