small fix, noted that long options do not work with -y

This commit is contained in:
inxi-svn 2014-04-03 17:52:24 +00:00
parent 7ea015abef
commit f543d2cb72
2 changed files with 2 additions and 2 deletions

2
inxi
View file

@ -2668,7 +2668,7 @@ show_options()
if [[ $B_ALLOW_WEATHER == 'true' ]];then if [[ $B_ALLOW_WEATHER == 'true' ]];then
print_lines_basic "2" "-w -W" "Location (uses -z/irc filter), weather observation time, wind chill, heat index, dew point (shows extra lines for data where relevant)." print_lines_basic "2" "-w -W" "Location (uses -z/irc filter), weather observation time, wind chill, heat index, dew point (shows extra lines for data where relevant)."
fi fi
print_lines_basic "1" "-y" "Required extra option: integer, 80 or greater. Set the output line width max. Overrides IRC/Terminal settings or actual widths. If used with --help or --recommends, put -y option first. Example:^inxi^-y^130" print_lines_basic "1" "-y" "Required extra option: integer, 80 or greater. Set the output line width max. Overrides IRC/Terminal settings or actual widths. If used with -h, put -y option first. Example:^inxi^-y^130"
print_lines_basic "1" "-z" "Security filters for IP/Mac addresses, location, user home directory name. Default on for irc clients." print_lines_basic "1" "-z" "Security filters for IP/Mac addresses, location, user home directory name. Default on for irc clients."
print_lines_basic "1" "-Z" "Absolute override for output filters. Useful for debugging networking issues in irc for example." print_lines_basic "1" "-Z" "Absolute override for output filters. Useful for debugging networking issues in irc for example."
print_screen_output " " print_screen_output " "

2
inxi.1
View file

@ -269,7 +269,7 @@ Examples: \fB\-W 95623\fR OR \fB\-W Boston,MA\fR OR \fB\-W45.5234,\-122.6762\fR
OR \fB\-W bodo,norway\fR. OR \fB\-W bodo,norway\fR.
.TP .TP
.B \-y <integer >= 80> .B \-y <integer >= 80>
This is an absolute width override which sets the output line width max. Overrides COLS_MAX_IRC/COLS_MAX_CONSOLE globals, or the actual widths of the terminal. If used with \-\-help or \-c 94-99, put \-y option first or the override will be ignored. Example: \fBinxi \-y 130\fR This is an absolute width override which sets the output line width max. Overrides COLS_MAX_IRC/COLS_MAX_CONSOLE globals, or the actual widths of the terminal. If used with \-h or \-c 94-99, put \-y option first or the override will be ignored. Cannot be used with \-\-help/\-\-version/\-\-recommends type long options. Example: \fBinxi \-y 130\fR
.TP .TP
.B \-z .B \-z
Adds security filters for IP addresses, Mac, location (\-w), and user home directory name. Default on for irc clients. Adds security filters for IP addresses, Mac, location (\-w), and user home directory name. Default on for irc clients.