diff --git a/README.md b/README.md index 1440e44..1cd8b9f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # airdrop-cli -This is a command line tool that allows you to share files with Apple devices using AirDrop from your terminal. +This is a command line tool that allows you to share files and URLs with Apple devices using AirDrop from your terminal. ## Installation ### Homebrew @@ -31,4 +31,9 @@ To airdrop files, run: airdrop /path/to/your/file ``` +You can also airdrop URLs: +``` +airdrop https://apple.com/ +``` + You can pass as many paths as you want. As long as theese file URLs are correct, the command will work. diff --git a/Sources/airdrop/ConsoleIO.swift b/Sources/airdrop/ConsoleIO.swift index 5b0261e..09792f9 100644 --- a/Sources/airdrop/ConsoleIO.swift +++ b/Sources/airdrop/ConsoleIO.swift @@ -26,7 +26,7 @@ class ConsoleIO { let executableName = (CommandLine.arguments[0] as NSString).lastPathComponent writeMessage("usage: \(executableName) []") - writeMessage(" args – paths to files, which you you'd like to AirDrop") + writeMessage(" args – URLs or paths to files, which you'd like to AirDrop") writeMessage("\nOPTIONS:") writeMessage(" -h, --help – print help info") }