summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2017-05-28 23:33:26 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2017-05-29 13:23:31 +1000
commit5d5db88d106a49d7560a8042fa054df8b609f00a (patch)
tree3abbc6bceb1e61197b0145180c6faa126c46c749
parent215a01f1513f918e7295a8a477d4674f7b8085f0 (diff)
Document format of --dpi option in non-ambiguous way
Slash in previous documentation could be misunderstood as part of the --dpi command line option. So fix it. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--man/xrandr.man6
1 files changed, 4 insertions, 2 deletions
diff --git a/man/xrandr.man b/man/xrandr.man
index 5742286..55ea5dd 100644
--- a/man/xrandr.man
+++ b/man/xrandr.man
@@ -41,7 +41,8 @@ xrandr \- primitive command line interface to RandR extension
[\-\-prop]
[\-\-fb \fIwidth\fPx\fIheight\fP]
[\-\-fbmm \fIwidth\fPx\fIheight\fP]
-[\-\-dpi \fIdpi\fP/\fIoutput\fP]
+[\-\-dpi \fIdpi\fP]
+[\-\-dpi \fIfrom-output\fP]
[\-\-newmode \fIname\fP \fImode\fP]
[\-\-rmmode \fIname\fP]
[\-\-addmode \fIoutput\fP \fIname\fP]
@@ -228,7 +229,8 @@ option provides a way to override that behaviour.
Sets the reported values for the physical size of the screen. Normally,
xrandr resets the reported physical size values to keep the DPI constant.
This overrides that computation.
-.IP "\-\-dpi \fIdpi\fP/\fIoutput\fP"
+.IP "\-\-dpi \fIdpi\fP"
+.IP "\-\-dpi \fIfrom-output\fP"
This also sets the reported physical size values of the screen, it uses either
the specified DPI value, or the DPI of the given output, to compute an appropriate
physical size using whatever pixel size will be set.