More doc updates for BusyBox, with fixes to apps for bugs revealed
while trying to write docs . :-)
-Erik
diff --git a/fbset.c b/fbset.c
index 1f471da..4e5609e 100644
--- a/fbset.c
+++ b/fbset.c
@@ -104,9 +104,9 @@
"-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 @@
"-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 @@
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)