diff --git a/inxi b/inxi index cfa8a57..89ca118 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.5.1 +#### version: 0.5.2 #### Date: November 10 2008 ######################################################################## #### inxi is a fork of infobash, the original bash sys info script by locsmif @@ -555,16 +555,16 @@ show_options() { local color_scheme_count=${#A_COLOR_SCHEMES[@]} - print_screen_output "$SCRIPT_NAME supports the following options. You can combine" - print_screen_output "them, or list them one by one: Examples: $SCRIPT_NAME -v4 -c6 OR $SCRIPT_NAME -dc 6" - print_screen_output "Note: extra output options (eg -f,-H,-p,-s,-x) require a verbosity level of 1 or higher." - print_screen_output "In other words, they only work if you use either -d or -v1 (or higher)" + print_screen_output "$SCRIPT_NAME supports the following options. You can combine them, or list them" + print_screen_output "one by one: Examples: $SCRIPT_NAME -v4 -c6 OR $SCRIPT_NAME -dDc 6" print_screen_output "" print_screen_output "If you start $SCRIPT_NAME with no arguments, it will show the short form." print_screen_output "The following options if used without -d or -v will show just that complete line:" print_screen_output "A,C,f,D,G,I,N,P,S - you can use these together to show just the lines you want to see." - print_screen_output "If you use them with a -v level, it will show the full output for that line." + print_screen_output "If you use them with a -v level (or -d), it will show the full output for that line " + print_screen_output "along with the output for the chosen verbosity level." print_screen_output "- - - - - - - - - - - - - - - - - - - - - - - - - - - - -" + print_screen_output "Output Control Options:" print_screen_output "-A Show audio/sound card information." print_screen_output "-c Available color schemes. Scheme number is required." print_screen_output " Supported schemes: 0-$color_scheme_count Example: $SCRIPT_NAME -c 11" @@ -578,8 +578,6 @@ show_options() print_screen_output "-N Show network card information." print_screen_output "-P Show partition information (shows what -v4 would show, but without extra data)." print_screen_output "-S Show system information: host name, kernel, distro" - print_screen_output "-U Auto-update script. Note: if you installed as root, you" - print_screen_output " must be root to update, otherwise user is fine." print_screen_output "-v Script verbosity levels. Verbosity level number is required." print_screen_output " Supported levels: 1-${VERBOSITY_LEVELS} Example: $SCRIPT_NAME -v 4" print_screen_output " 1 - basic verbose, same as: $SCRIPT_NAME -d" @@ -587,8 +585,12 @@ show_options() print_screen_output " 3 - Also show hard disk names as detected." print_screen_output " 4 - Also show partition size/filled data for (if present):/, /home, /var/, /boot" print_screen_output " 5 - For multicore systems, also show per core clock speeds." + print_screen_output "-x Show extra data: bogomips on cpu. Only works with verbose or line output." + print_screen_output "Additional Options:" + print_screen_output "-h or -H - this help menu." + print_screen_output "-U Auto-update script. Note: if you installed as root, you" + print_screen_output " must be root to update, otherwise user is fine." print_screen_output "-V $SCRIPT_NAME version information. Prints information then exits." - print_screen_output "-x Show extra data: bogomips on cpu." print_screen_output "-% Overrides defective or corrupted data." print_screen_output "-@ Triggers debugger output. Requires debugging level 1-10." rint_screen_output ""