mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
added -E to options
This commit is contained in:
parent
eff986799b
commit
5b4a3b8f94
7
inxi
7
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 0.5.25-b-1-t-1
|
#### version: 0.5.25-b-1-t-2
|
||||||
#### Date: November 13 2008
|
#### Date: November 13 2008
|
||||||
########################################################################
|
########################################################################
|
||||||
#### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif
|
#### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif
|
||||||
|
@ -516,7 +516,7 @@ get_parameters()
|
||||||
# the short form only runs if no args output args are used
|
# the short form only runs if no args output args are used
|
||||||
# no need to run through these if there are no args
|
# no need to run through these if there are no args
|
||||||
if [[ -n $1 ]];then
|
if [[ -n $1 ]];then
|
||||||
while getopts Ac:CdDfFGhHINPSv:Vx%@:${update_flags} opt
|
while getopts Ac:CdDEfFGhHINPSv:Vx%@:${update_flags} opt
|
||||||
do
|
do
|
||||||
case $opt in
|
case $opt in
|
||||||
A) B_SHOW_AUDIO='true'
|
A) B_SHOW_AUDIO='true'
|
||||||
|
@ -542,6 +542,9 @@ get_parameters()
|
||||||
D) B_SHOW_DISK='true'
|
D) B_SHOW_DISK='true'
|
||||||
use_short='false'
|
use_short='false'
|
||||||
;;
|
;;
|
||||||
|
E) B_SHOW_EXTRAS='true'
|
||||||
|
use_short='false'
|
||||||
|
;;
|
||||||
f) B_SHOW_CPU='true'
|
f) B_SHOW_CPU='true'
|
||||||
B_CPU_FLAGS_FULL='true'
|
B_CPU_FLAGS_FULL='true'
|
||||||
use_short='false'
|
use_short='false'
|
||||||
|
|
Loading…
Reference in a new issue