Skip to content

Commit

Permalink
doc: cli help
Browse files Browse the repository at this point in the history
  • Loading branch information
ponty committed Nov 1, 2023
1 parent aa18ac1 commit 1963e57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,12 @@ Using qmake:

### command-line help

./framebuffer-vncserver [-f device] [-p port] [-t touchscreen] [-k keyboard] [-r rotation] [-R touchscreen rotation] [-F FPS] [-v] [-h]
./framebuffer-vncserver [-f device] [-p port] [-t touchscreen] [-m mouse] [-k keyboard] [-r rotation] [-R touchscreen rotation] [-F FPS] [-v] [-h]
-p port: VNC port, default is 5900
-f device: framebuffer device node, default is /dev/fb0
-k device: keyboard device node (example: /dev/input/event0)
-t device: touchscreen device node (example:/dev/input/event2)
-m device: mouse device node (example:/dev/input/event2)
-r degrees: framebuffer rotation, default is 0
-R degrees: touchscreen rotation, default is same as framebuffer rotation
-F FPS: Maximum target FPS, default is 10
Expand Down
2 changes: 1 addition & 1 deletion src/framebuffer-vncserver.c
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ static void update_screen(void)

void print_usage(char **argv)
{
info_print("%s [-f device] [-p port] [-t touchscreen] [-m touchscreen] [-k keyboard] [-r rotation] [-R touchscreen rotation] [-F FPS] [-v] [-h]\n"
info_print("%s [-f device] [-p port] [-t touchscreen] [-m mouse] [-k keyboard] [-r rotation] [-R touchscreen rotation] [-F FPS] [-v] [-h]\n"
"-p port: VNC port, default is 5900\n"
"-f device: framebuffer device node, default is /dev/fb0\n"
"-k device: keyboard device node (example: /dev/input/event0)\n"
Expand Down

0 comments on commit 1963e57

Please sign in to comment.