mirror of
https://github.com/smxi/inxi.git
synced 2025-01-31 18:12:21 +00:00
Added -F, for full output option, by popular demand, to show everything supported by inxi
This commit is contained in:
parent
3fb2d605a2
commit
394a53fdf3
10
inxi
10
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 0.3.32
|
#### version: 0.3.33
|
||||||
#### Date: November 7 2008
|
#### Date: November 7 2008
|
||||||
########################################################################
|
########################################################################
|
||||||
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
||||||
|
@ -455,7 +455,7 @@ get_parameters()
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
while getopts c:CdDfhsTUv:Vx opt
|
while getopts c:CdDfFhsTUv:Vx opt
|
||||||
do
|
do
|
||||||
case $opt in
|
case $opt in
|
||||||
c) if [[ -n $( egrep '^[0-9][0-9]?$' <<< $OPTARG ) ]];then
|
c) if [[ -n $( egrep '^[0-9][0-9]?$' <<< $OPTARG ) ]];then
|
||||||
|
@ -478,6 +478,11 @@ get_parameters()
|
||||||
;;
|
;;
|
||||||
f) B_CPU_FLAGS_FULL='true'
|
f) B_CPU_FLAGS_FULL='true'
|
||||||
;;
|
;;
|
||||||
|
F) VERBOSITY_LEVEL=$VERBOSITY_LEVELS
|
||||||
|
B_CPU_FLAGS_FULL='true'
|
||||||
|
B_SHOW_SOUND='true'
|
||||||
|
B_EXTRA_DATA='true'
|
||||||
|
;;
|
||||||
s) B_SHOW_SOUND='true'
|
s) B_SHOW_SOUND='true'
|
||||||
;;
|
;;
|
||||||
T) B_TESTING_FLAG='true'
|
T) B_TESTING_FLAG='true'
|
||||||
|
@ -517,6 +522,7 @@ show_options()
|
||||||
print_screen_output " Supported schemes: 0-$color_scheme_count Example: $SCRIPT_NAME -c 11"
|
print_screen_output " Supported schemes: 0-$color_scheme_count Example: $SCRIPT_NAME -c 11"
|
||||||
print_screen_output "-d Default output verbosity level, same as: $SCRIPT_NAME -v 1"
|
print_screen_output "-d Default output verbosity level, same as: $SCRIPT_NAME -v 1"
|
||||||
print_screen_output "-f Show all cpu flags used, not just the short list."
|
print_screen_output "-f Show all cpu flags used, not just the short list."
|
||||||
|
print_screen_output "-F Show Full, all possible, output for $SCRIPT_NAME."
|
||||||
print_screen_output "-U Autoupdate script. Note: if you installed as root, you"
|
print_screen_output "-U Autoupdate script. Note: if you installed as root, you"
|
||||||
print_screen_output " must be root to update, otherwise user is fine."
|
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 "-v Script verbosity levels. Verbosity level number is required."
|
||||||
|
|
Loading…
Reference in a new issue