From 5e2fcae883dc94488a0b8f7f8d8f9cd04bda5c96 Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Thu, 12 Jul 2018 15:57:04 -0700 Subject: [PATCH] reordered help menu to be more clear --- inxi | 51 ++++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/inxi b/inxi index 0f68ee7..a8ccbfa 100755 --- a/inxi +++ b/inxi @@ -4109,7 +4109,7 @@ sub show_options { Examples:^$self_name^-v4^-c6 OR $self_name^-bDc^6. If you start $self_name with no arguments, it will display a short system summary." ], - [0, '', '', '' ], + ['0', '', '', '' ], ['0', '', '', "The following options, if used without -F, -b, or -v, will show option line(s): A, B, C, D, G, I, M, N, P, R, S, W, d, f, i, l, m, n, o, p, r, s, t, u, w, --slots, --usb - you can use these alone or together @@ -4332,8 +4332,8 @@ sub show_options { location (-w), user home directory name. Default on for IRC clients." ], ['1', '-Z', '--filter-override', "Absolute override for output filters. Useful for debugging networking issues in IRC, for example." ], - [0, '', '', "$line" ], - [0, '', '', "Additional Options:" ], + ['0', '', '', "$line" ], + ['0', '', '', "Additional Options:" ], ['1', '-h', '--help', "This help menu." ], ['1', '', '--recommends', "Checks $self_name application dependencies + recommends, and directories, then shows what package(s) you need to install to add support @@ -4357,28 +4357,10 @@ sub show_options { } @rows = ( ['1', '-V', '--version', "Prints $self_name version info then exits." ], - [0, '', '', "$line" ], - [0, '', '', "Debugging Options:" ], - ['1', '', '--debug', "Triggers debugging modes." ], - ['2', '1-3', '', "On screen debugger output." ], - ['2', '10', '', "Basic logging." ], - ['2', '11', '', "Full file/system info logging." ], - ['1', '', ,'', "The following create a tar.gz file of system data, plus $self_name - output. To automatically upload debugger data tar.gz file - to ftp.techpatterns.com: $self_name^--debug^21" ], - ['2', '20', '', "Full system data collection: /sys; xorg conf and log data, xrandr, - xprop, xdpyinfo, glxinfo etc.; data from dev, disks, - ${partition_string}s, etc." ], - ['2', '21', '', "Upload debugger dataset to $self_name debugger server - automatically, removes debugger data directory, leaves tar.gz debugger file." ], - ['2', '22', '', "Upload debugger dataset to $self_name debugger server - automatically, removes debugger data directory and debugger tar.gz file." ], - ['1', '', '--ftp', "Use with --debugger 21 to trigger an alternate FTP server for upload. - Format:^[ftp.xx.xx/yy]. Must include a remote directory to upload to. - Example:^$self_name^--debug^21^--ftp^ftp.myserver.com/incoming" ], - [0, '', '', "$line" ], - [0, '', '', "Advanced Options:" ], - [1, '', '--alt', "Trigger for various advanced options:" ], + + ['0', '', '', "$line" ], + ['0', '', '', "Advanced Options:" ], + ['1', '', '--alt', "Trigger for various advanced options:" ], ['2', '40', '', "Bypass Perl as a downloader option." ], ['2', '41', '', "Bypass Curl as a downloader option." ], ['2', '42', '', "Bypass Fetch as a downloader option." ], @@ -4422,6 +4404,25 @@ sub show_options { (default:^$cpu_sleep). Allows system to catch up and show a more accurate CPU use. Example:^$self_name^-Cxxx^--sleep^0.15" ], ['1', '', '--wm', "Force wm: to use wmctrl as data source. Default uses ps." ], + ['0', '', '', "$line" ], + ['0', '', '', "Debugging Options:" ], + ['1', '', '--debug', "Triggers debugging modes." ], + ['2', '1-3', '', "On screen debugger output." ], + ['2', '10', '', "Basic logging." ], + ['2', '11', '', "Full file/system info logging." ], + ['1', '', ,'', "The following create a tar.gz file of system data, plus $self_name + output. To automatically upload debugger data tar.gz file + to ftp.techpatterns.com: $self_name^--debug^21" ], + ['2', '20', '', "Full system data collection: /sys; xorg conf and log data, xrandr, + xprop, xdpyinfo, glxinfo etc.; data from dev, disks, + ${partition_string}s, etc." ], + ['2', '21', '', "Upload debugger dataset to $self_name debugger server + automatically, removes debugger data directory, leaves tar.gz debugger file." ], + ['2', '22', '', "Upload debugger dataset to $self_name debugger server + automatically, removes debugger data directory and debugger tar.gz file." ], + ['1', '', '--ftp', "Use with --debugger 21 to trigger an alternate FTP server for upload. + Format:^[ftp.xx.xx/yy]. Must include a remote directory to upload to. + Example:^$self_name^--debug^21^--ftp^ftp.myserver.com/incoming" ], ['0', '', '', $line ], ); push @data, @rows;