Text Fixes.
- Replaced URL with URI where appropriate. - Fixed some typos - Updated README (and corrected the attribution of the SynchronizedArray code)
This commit is contained in:
@@ -13,7 +13,7 @@ class ReadCommand: OptionCommand {
|
||||
|
||||
let name = "getHandler"
|
||||
let signature = ""
|
||||
let shortDescription = "Returns the default application registered for the URL scheme or <subtype> you specify."
|
||||
let shortDescription = "Returns the default application registered for the URI Scheme or <subtype> you specify."
|
||||
|
||||
private var kind: String = ""
|
||||
private var getAll = false;
|
||||
|
||||
@@ -14,14 +14,14 @@ class GetSchemes: Command {
|
||||
|
||||
let name = "getSchemes"
|
||||
let signature = ""
|
||||
let shortDescription = "Returns a list of all known URL schemes, accompanied by their default handler."
|
||||
let shortDescription = "Returns a list of all known URI schemes, accompanied by their default handler."
|
||||
|
||||
func execute(arguments: CommandArguments) throws {
|
||||
|
||||
if let output = copyDictionaryAsString(LSWrappers.Schemes.copySchemesAndHandlers()?.sorted(by: { $0.0 < $1.0 })) {
|
||||
print(output)
|
||||
}
|
||||
else { throw CLIError.error("There was an error generating the list.") }
|
||||
else { throw CLIError.error("SwiftDefaultApps ERROR: Couldn't generate list of URI Schemes.") }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user