From 5b4a3b8f943af2665305ccc2a4f6efa2d23f26e1 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 13 Nov 2008 23:18:28 +0000 Subject: [PATCH] added -E to options --- inxi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index f586499..86237f2 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.5.25-b-1-t-1 +#### version: 0.5.25-b-1-t-2 #### Date: November 13 2008 ######################################################################## #### 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 # no need to run through these if there are no args if [[ -n $1 ]];then - while getopts Ac:CdDfFGhHINPSv:Vx%@:${update_flags} opt + while getopts Ac:CdDEfFGhHINPSv:Vx%@:${update_flags} opt do case $opt in A) B_SHOW_AUDIO='true' @@ -542,6 +542,9 @@ get_parameters() D) B_SHOW_DISK='true' use_short='false' ;; + E) B_SHOW_EXTRAS='true' + use_short='false' + ;; f) B_SHOW_CPU='true' B_CPU_FLAGS_FULL='true' use_short='false'