Skip to content

Commit

Permalink
Merge pull request #91 from bitomule/master
Browse files Browse the repository at this point in the history
Fix support for multiple sessions
  • Loading branch information
ohoachuck committed Jun 16, 2019
2 parents 9402dd0 + 187dcb9 commit 825db59
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions wwdcDownloader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,14 @@ while let argument = iterator.next() {
break

default:
if gettingSessions {
if Int(argument) != nil {
sessionsSet.insert(argument)
break
} else {
gettingSessions = false
}
}
print("\(argument) is not a \(#file) command.\n")
showHelpAndExit()
}
Expand Down

0 comments on commit 825db59

Please sign in to comment.