Added -F, for full output option, by popular demand, to show everything supported by inxi

This commit is contained in:
inxi-svn 2008-11-07 20:55:37 +00:00
parent 3fb2d605a2
commit 394a53fdf3

10
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 0.3.32
#### version: 0.3.33
#### Date: November 7 2008
########################################################################
#### inxi is a fork of infobash, the original bash sys info script by locsmif
@ -455,7 +455,7 @@ get_parameters()
return 1
fi
while getopts c:CdDfhsTUv:Vx opt
while getopts c:CdDfFhsTUv:Vx opt
do
case $opt in
c) if [[ -n $( egrep '^[0-9][0-9]?$' <<< $OPTARG ) ]];then
@ -478,6 +478,11 @@ get_parameters()
;;
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'
;;
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 "-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 Full, all possible, output for $SCRIPT_NAME."
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 "-v Script verbosity levels. Verbosity level number is required."