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:
Gregorio Litenstein
2019-06-17 00:46:23 -04:00
parent c8d961c035
commit dcafe50852
10 changed files with 67 additions and 67 deletions
+1 -1
View File
@@ -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;
+2 -2
View File
@@ -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.") }
}
}