slight typo in --help and man page for -! 40 option.

This commit is contained in:
Harald Hope 2017-06-10 14:42:49 -07:00
parent 5030592d8f
commit 3c93de060f
2 changed files with 14 additions and 6 deletions

2
inxi
View file

@ -3227,7 +3227,7 @@ show_options()
print_lines_basic "1" "-! 32" "Turns on hostname in output. Overrides global B_SHOW_HOST='false'" print_lines_basic "1" "-! 32" "Turns on hostname in output. Overrides global B_SHOW_HOST='false'"
print_lines_basic "1" "-! 33" "Forces use of dmidecode data instead of /sys where relevant (-M)." print_lines_basic "1" "-! 33" "Forces use of dmidecode data instead of /sys where relevant (-M)."
print_lines_basic "1" "-! 34" "Skips SSL certificate checks for all downloader activies (wget/fetch/curl only). Must go before other options." print_lines_basic "1" "-! 34" "Skips SSL certificate checks for all downloader activies (wget/fetch/curl only). Must go before other options."
print_lines_basic "1" "-! 40" "Will try to get display data out of X. Default gets it from display :0. If you use this format: -40:1 it would get it from display 1 instead, or any display you specify as long as there is no space between -40 and the :[display-number]." print_lines_basic "1" "-! 40" "Will try to get display data out of X. Default gets it from display :0. If you use this format: -! 40:1 it would get it from display 1 instead, or any display you specify as long as there is no space between -! 40 and the :[display-number]."
if [[ $1 == 'full' ]];then if [[ $1 == 'full' ]];then
print_screen_output " " print_screen_output " "

18
inxi.1
View file

@ -1,4 +1,4 @@
.TH INXI 1 "2017\-06\-09" inxi "inxi manual" .TH INXI 1 "2017\-06\-10" inxi "inxi manual"
.SH NAME .SH NAME
inxi \- Command line system information script for console and IRC inxi \- Command line system information script for console and IRC
.SH SYNOPSIS .SH SYNOPSIS
@ -545,10 +545,18 @@ any reason. Only works with \fBwget\fR, \fBcurl\fR, and \fBfetch\fR. This must g
.TP .TP
.B \-! 40 .B \-! 40
Will try to get display data out of X. Default gets display info from display \fB:0\fR. If you use this format: \fB\-40:1\fR Will try to get display data out of X (does not usually work as root user).
it would get it from display \fB1\fR instead, or any display you specify as long as there is no space Default gets display info from display \fB:0\fR. If you use this format: \fB\-! 40:1\fR it
between \fB\-40\fR and the \fB:[display id]\fR. Note that in some cases, this will cause inxi to hang endlessly, with Intel would get it from display \fB1\fR instead, or any display you specify
graphics this has been seen, so it won't work for you in that case. as long as there is no space between \fB\-! 40\fR and the \fB:[display id]\fR.
Note that in some cases, \fB\-! 40\fR will cause inxi to hang endlessly when running the option
in console with Intel graphics (confirmed). Other free drivers like nouveau/ati unknown yet.
It may be that this is a bug with the intel graphics driver, more information required.
You can test this easily by running this command out of X/display server: \fBglxinfo -display :0\fR
If it hangs, \fB\-! 40\fR will not work.
.SH DEBUGGING OPTIONS .SH DEBUGGING OPTIONS
.TP .TP