make sessions behave like jobs when no options are given
git-svn-id: file:///home/svn/framework3/trunk@6013 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
5822ab75a7
commit
7f59e5ff15
|
@ -670,12 +670,8 @@ class Core
|
|||
# Provides an interface to the sessions currently active in the framework.
|
||||
#
|
||||
def cmd_sessions(*args)
|
||||
if (args.length == 0)
|
||||
args.unshift("-h")
|
||||
end
|
||||
|
||||
begin
|
||||
method = nil
|
||||
method = 'list'
|
||||
quiet = false
|
||||
verbose = false
|
||||
sid = nil
|
||||
|
@ -1635,4 +1631,4 @@ protected
|
|||
|
||||
end
|
||||
|
||||
end end end end
|
||||
end end end end
|
||||
|
|
Loading…
Reference in New Issue