mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
added comments, updated help to show desktop for S
This commit is contained in:
parent
00268adb80
commit
85a30fa8d2
4
inxi
4
inxi
|
@ -741,6 +741,8 @@ check_script_depends()
|
||||||
local app_name='' app_path=''
|
local app_name='' app_path=''
|
||||||
# bc removed from deps for now
|
# bc removed from deps for now
|
||||||
local depends="df free gawk grep hostname lspci ps readlink tr uname uptime wc"
|
local depends="df free gawk grep hostname lspci ps readlink tr uname uptime wc"
|
||||||
|
# no need to add xprop because it will just give N/A if not there, but if we expand use of xprop,
|
||||||
|
# should add that here as a test, then use the B_SHOW_X_DATA flag to trigger the tests in de function
|
||||||
local x_apps="xrandr xdpyinfo glxinfo"
|
local x_apps="xrandr xdpyinfo glxinfo"
|
||||||
|
|
||||||
if [[ $B_RUNNING_IN_X == 'true' ]];then
|
if [[ $B_RUNNING_IN_X == 'true' ]];then
|
||||||
|
@ -1676,7 +1678,7 @@ show_options()
|
||||||
print_screen_output "-r Show distro repository data. Currently supported repo types: APT; PACMAN; PISI; YUM."
|
print_screen_output "-r Show distro repository data. Currently supported repo types: APT; PACMAN; PISI; YUM."
|
||||||
print_screen_output "-s Show sensors output (if sensors installed/configured): mobo/cpu/gpu temp; detected fan speeds."
|
print_screen_output "-s Show sensors output (if sensors installed/configured): mobo/cpu/gpu temp; detected fan speeds."
|
||||||
print_screen_output " Gpu temp only for Fglrx/Nvidia drivers. Nvidia shows screen number for > 1 screens."
|
print_screen_output " Gpu temp only for Fglrx/Nvidia drivers. Nvidia shows screen number for > 1 screens."
|
||||||
print_screen_output "-S Show System information: host name, kernel, distro"
|
print_screen_output "-S Show System information: host name, kernel, desktop environment (if in X), distro"
|
||||||
print_screen_output "-t Show processes. Requires extra options: c (cpu) m (memory) cm (cpu+memory). If followed by numbers 1-20,"
|
print_screen_output "-t Show processes. Requires extra options: c (cpu) m (memory) cm (cpu+memory). If followed by numbers 1-20,"
|
||||||
print_screen_output " shows that number of processes for each type (default: $PS_COUNT; if in irc, max: 5): -t cm10"
|
print_screen_output " shows that number of processes for each type (default: $PS_COUNT; if in irc, max: 5): -t cm10"
|
||||||
print_screen_output " Make sure to have no space between letters and numbers (-t cm10 -right, -t cm 10 -wrong)."
|
print_screen_output " Make sure to have no space between letters and numbers (-t cm10 -right, -t cm 10 -wrong)."
|
||||||
|
|
Loading…
Reference in a new issue