diff --git a/DXFeedFramework.xcodeproj/xcshareddata/xcschemes/Tools.xcscheme b/DXFeedFramework.xcodeproj/xcshareddata/xcschemes/Tools.xcscheme
index b18938cff..97295b55a 100644
--- a/DXFeedFramework.xcodeproj/xcshareddata/xcschemes/Tools.xcscheme
+++ b/DXFeedFramework.xcodeproj/xcshareddata/xcschemes/Tools.xcscheme
@@ -64,7 +64,7 @@
isEnabled = "NO">
4 {
- return arguments[4]
- } else {
- return nil
+ if let tapeIndex = allParameters.firstIndex(of: "-f") {
+ return allParameters[tapeIndex + 1]
}
+ return nil
}()
init(_ cmd: [String], requiredNumberOfArguments: Int) throws {
@@ -62,28 +61,28 @@ Cmd \(cmd) contains not enough \(cmd.count - 1) arguments. Expected \(requiredNu
""")
}
// 0 Arg is path to executed app
- self.arguments = Array(cmd[1.. String {
- arguments[index]
+ allParameters[index]
}
public var count: Int {
- arguments.count
+ allParameters.count
}
public func parseTypes(at index: Int) -> [EventCode] {
- if arguments[2] == "all" {
+ if allParameters[2] == "all" {
return EventCode.allCases
}
- return arguments[2].split(separator: ",").compactMap { str in
+ return allParameters[2].split(separator: ",").compactMap { str in
return EventCode(string: String(str))
}
}
public func parseSymbols(at index: Int) -> [Symbol] {
- let symbols = arguments[index]
+ let symbols = allParameters[index]
if symbols.lowercased() == "all" {
return [WildcardSymbol.all]
}
diff --git a/Samples/PerfTestCL/ConnectTool.swift b/Samples/PerfTestCL/ConnectTool.swift
index 9f14f8ff2..dfbf4ad54 100644
--- a/Samples/PerfTestCL/ConnectTool.swift
+++ b/Samples/PerfTestCL/ConnectTool.swift
@@ -19,7 +19,7 @@ Connect
=======
Usage:
- Connect [