mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
(Change version)
Added more useful -H option, now triggers advanced testing option display as well as regular help
This commit is contained in:
parent
6e30c9de1c
commit
d14b99d7dd
23
inxi
23
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 "-! <http://......> - Triggers an update from whatever server you list."
|
||||
print_screen_output ""
|
||||
if
|
||||
print_screen_output ""
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue