Format shortcut documentation

For consistency, start the descriptions with a capital letter.
This commit is contained in:
Romain Vimont 2020-04-08 12:02:15 +02:00
parent d30593e1d5
commit fd63e7eb5a
2 changed files with 33 additions and 33 deletions

View file

@ -164,15 +164,15 @@ Default is 0 (automatic).\n
.TP .TP
.B Ctrl+f .B Ctrl+f
switch fullscreen mode Switch fullscreen mode
.TP .TP
.B Ctrl+g .B Ctrl+g
resize window to 1:1 (pixel\-perfect) Resize window to 1:1 (pixel\-perfect)
.TP .TP
.B Ctrl+x, Double\-click on black borders .B Ctrl+x, Double\-click on black borders
resize window to remove black borders Resize window to remove black borders
.TP .TP
.B Ctrl+h, Home, Middle\-click .B Ctrl+h, Home, Middle\-click
@ -204,43 +204,43 @@ Click on POWER (turn screen on/off)
.TP .TP
.B Right\-click (when screen is off) .B Right\-click (when screen is off)
turn screen on Turn screen on
.TP .TP
.B Ctrl+o .B Ctrl+o
turn device screen off (keep mirroring) Turn device screen off (keep mirroring)
.TP .TP
.B Ctrl+r .B Ctrl+r
rotate device screen Rotate device screen
.TP .TP
.B Ctrl+n .B Ctrl+n
expand notification panel Expand notification panel
.TP .TP
.B Ctrl+Shift+n .B Ctrl+Shift+n
collapse notification panel Collapse notification panel
.TP .TP
.B Ctrl+c .B Ctrl+c
copy device clipboard to computer Copy device clipboard to computer
.TP .TP
.B Ctrl+v .B Ctrl+v
paste computer clipboard to device Paste computer clipboard to device
.TP .TP
.B Ctrl+Shift+v .B Ctrl+Shift+v
copy computer clipboard to device Copy computer clipboard to device
.TP .TP
.B Ctrl+i .B Ctrl+i
enable/disable FPS counter (print frames/second in logs) Enable/disable FPS counter (print frames/second in logs)
.TP .TP
.B Drag & drop APK file .B Drag & drop APK file
install APK from computer Install APK from computer
.SH Environment variables .SH Environment variables

View file

@ -143,68 +143,68 @@ scrcpy_print_usage(const char *arg0) {
"Shortcuts:\n" "Shortcuts:\n"
"\n" "\n"
" " CTRL_OR_CMD "+f\n" " " CTRL_OR_CMD "+f\n"
" switch fullscreen mode\n" " Switch fullscreen mode\n"
"\n" "\n"
" " CTRL_OR_CMD "+g\n" " " CTRL_OR_CMD "+g\n"
" resize window to 1:1 (pixel-perfect)\n" " Resize window to 1:1 (pixel-perfect)\n"
"\n" "\n"
" " CTRL_OR_CMD "+x\n" " " CTRL_OR_CMD "+x\n"
" Double-click on black borders\n" " Double-click on black borders\n"
" resize window to remove black borders\n" " Resize window to remove black borders\n"
"\n" "\n"
" Ctrl+h\n" " Ctrl+h\n"
" Middle-click\n" " Middle-click\n"
" click on HOME\n" " Click on HOME\n"
"\n" "\n"
" " CTRL_OR_CMD "+b\n" " " CTRL_OR_CMD "+b\n"
" " CTRL_OR_CMD "+Backspace\n" " " CTRL_OR_CMD "+Backspace\n"
" Right-click (when screen is on)\n" " Right-click (when screen is on)\n"
" click on BACK\n" " Click on BACK\n"
"\n" "\n"
" " CTRL_OR_CMD "+s\n" " " CTRL_OR_CMD "+s\n"
" click on APP_SWITCH\n" " Click on APP_SWITCH\n"
"\n" "\n"
" Ctrl+m\n" " Ctrl+m\n"
" click on MENU\n" " Click on MENU\n"
"\n" "\n"
" " CTRL_OR_CMD "+Up\n" " " CTRL_OR_CMD "+Up\n"
" click on VOLUME_UP\n" " Click on VOLUME_UP\n"
"\n" "\n"
" " CTRL_OR_CMD "+Down\n" " " CTRL_OR_CMD "+Down\n"
" click on VOLUME_DOWN\n" " Click on VOLUME_DOWN\n"
"\n" "\n"
" " CTRL_OR_CMD "+p\n" " " CTRL_OR_CMD "+p\n"
" click on POWER (turn screen on/off)\n" " Click on POWER (turn screen on/off)\n"
"\n" "\n"
" Right-click (when screen is off)\n" " Right-click (when screen is off)\n"
" power on\n" " Power on\n"
"\n" "\n"
" " CTRL_OR_CMD "+o\n" " " CTRL_OR_CMD "+o\n"
" turn device screen off (keep mirroring)\n" " Turn device screen off (keep mirroring)\n"
"\n" "\n"
" " CTRL_OR_CMD "+r\n" " " CTRL_OR_CMD "+r\n"
" rotate device screen\n" " Rotate device screen\n"
"\n" "\n"
" " CTRL_OR_CMD "+n\n" " " CTRL_OR_CMD "+n\n"
" expand notification panel\n" " Expand notification panel\n"
"\n" "\n"
" " CTRL_OR_CMD "+Shift+n\n" " " CTRL_OR_CMD "+Shift+n\n"
" collapse notification panel\n" " Collapse notification panel\n"
"\n" "\n"
" " CTRL_OR_CMD "+c\n" " " CTRL_OR_CMD "+c\n"
" copy device clipboard to computer\n" " Copy device clipboard to computer\n"
"\n" "\n"
" " CTRL_OR_CMD "+v\n" " " CTRL_OR_CMD "+v\n"
" paste computer clipboard to device\n" " Paste computer clipboard to device\n"
"\n" "\n"
" " CTRL_OR_CMD "+Shift+v\n" " " CTRL_OR_CMD "+Shift+v\n"
" copy computer clipboard to device\n" " Copy computer clipboard to device\n"
"\n" "\n"
" " CTRL_OR_CMD "+i\n" " " CTRL_OR_CMD "+i\n"
" enable/disable FPS counter (print frames/second in logs)\n" " Enable/disable FPS counter (print frames/second in logs)\n"
"\n" "\n"
" Drag & drop APK file\n" " Drag & drop APK file\n"
" install APK from computer\n" " Install APK from computer\n"
"\n", "\n",
arg0, arg0,
DEFAULT_BIT_RATE, DEFAULT_BIT_RATE,