mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
6821d61b3c
@ -84,10 +84,14 @@ module CLIHelper
|
||||
|
||||
# Print header
|
||||
def CLIHelper.print_header(str, underline=true)
|
||||
scr_bold
|
||||
scr_underline if underline
|
||||
print str
|
||||
scr_restore
|
||||
if $stdout.tty?
|
||||
scr_bold
|
||||
scr_underline if underline
|
||||
print str
|
||||
scr_restore
|
||||
else
|
||||
print str
|
||||
end
|
||||
puts
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user