From d14b99d7dd94651c5051269df68c9526b16df9ee Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 19 Nov 2008 19:57:14 +0000 Subject: [PATCH] (Change version) Added more useful -H option, now triggers advanced testing option display as well as regular help --- inxi | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/inxi b/inxi index 4c5462f..49bbdc2 100755 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.5.33 -#### Date: November 18 2008 +#### version: 0.5.34 +#### Date: November 19 2008 ######################################################################## #### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif #### As time permits functionality improvements and recoding will occur. @@ -559,9 +559,6 @@ get_parameters() G) B_SHOW_GRAPHICS='true' use_short='false' ;; - H) B_SHOW_HDD_FULL='true' - use_short='false' - ;; I) B_SHOW_INFO='true' use_short='false' ;; @@ -590,7 +587,10 @@ get_parameters() ;; x) B_EXTRA_DATA='true' ;; - h|H) show_options + h) show_options + exit 0 + ;; + H) show_options 'full' exit 0 ;; ## debuggers and testing tools @@ -689,6 +689,17 @@ show_options() print_screen_output "-V $SCRIPT_NAME version information. Prints information then exits." print_screen_output "-% Overrides defective or corrupted data." print_screen_output "-@ Triggers debugger output. Requires debugging level 1-10." + if [[ $1 == 'full' ]];then + print_screen_output "Developer and Testing Options (Advanced):" + print_screen_output "-! 1 - Sets default B_TESTING_1='true' to trigger testing condition 1." + print_screen_output "-! 2 - Sets default B_TESTING_2='true' to trigger testing condition 2." + print_screen_output "-! 3 - Sets B_TESTING_1='true' and B_TESTING_2='true'." + print_screen_output "-! 10 - Triggers an update from the primary dev download server instead of svn." + print_screen_output "-! 11 - Triggers an update from svn branch one - if present, of course." + print_screen_output "-! 12 - Triggers an update from svn branch two - if present, of course." + print_screen_output "-! - Triggers an update from whatever server you list." + print_screen_output "" + if print_screen_output "" }