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:
James Lee 2008-12-15 06:05:11 +00:00
parent 5822ab75a7
commit 7f59e5ff15
1 changed files with 2 additions and 6 deletions

View File

@ -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