summaryrefslogtreecommitdiff
path: root/util-linux/fbset.c
diff options
context:
space:
mode:
authorErik Andersen2000-04-13 18:49:43 +0000
committerErik Andersen2000-04-13 18:49:43 +0000
commit9cf3bfa7c1bf3ad959c61711c9a5ac1969149300 (patch)
tree61d03a8d473f2d253c80f5bb3acc13d488351250 /util-linux/fbset.c
parentb4f8606c05f8a256b515633e48df954ead1260ef (diff)
downloadbusybox-9cf3bfa7c1bf3ad959c61711c9a5ac1969149300.zip
busybox-9cf3bfa7c1bf3ad959c61711c9a5ac1969149300.tar.gz
More doc updates for BusyBox, with fixes to apps for bugs revealed
while trying to write docs . :-) -Erik
Diffstat (limited to 'util-linux/fbset.c')
-rw-r--r--util-linux/fbset.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/util-linux/fbset.c b/util-linux/fbset.c
index 1f471da..4e5609e 100644
--- a/util-linux/fbset.c
+++ b/util-linux/fbset.c
@@ -104,9 +104,9 @@ struct cmdoptions_t {
"-hsync", 1, CMD_HSYNC}, {
"-vsync", 1, CMD_VSYNC}, {
"-laced", 1, CMD_LACED}, {
- "-double", 1, CMD_DOUBLE},
+ "-double", 1, CMD_DOUBLE}, {
+ "--help", 0, CMD_HELP}, {
#ifdef BB_FEATURE_FBSET_FANCY
- {
"--help", 0, CMD_HELP}, {
"-all", 0, CMD_ALL}, {
"-xres", 1, CMD_XRES}, {
@@ -130,9 +130,8 @@ struct cmdoptions_t {
"-bcast", 1, CMD_BCAST}, {
"-rgba", 1, CMD_RGBA}, {
"-step", 1, CMD_STEP}, {
- "-move", 1, CMD_MOVE},
+ "-move", 1, CMD_MOVE}, {
#endif
- {
0, 0, 0}
};
@@ -217,7 +216,7 @@ static void showmode(struct fb_var_screeninfo *v)
printf("\trgba %u/%u,%u/%u,%u/%u,%u/%u\n", v->red.length,
v->red.offset, v->green.length, v->green.offset, v->blue.length,
v->blue.offset, v->transp.length, v->transp.offset);
- printf("endmode\n");
+ printf("endmode\n\n");
}
static void fbset_usage(void)