diff --git a/README.md b/README.md
index d226f4e..be117e6 100644
--- a/README.md
+++ b/README.md
@@ -20,10 +20,12 @@ Maybe it is easily to write a shell (e.g. Bash), _but this is exactly **"try! Sw
-## Installing (Coming soon)
+## Installing
Please download the `tryswiftdev.pkg` in the [Releases](https://github.com/tryswift/tryswiftdev/releases) and install it.
+_**This is a test release. It has not gone through the testing.**_
+
By default, get `tryswiftdev` into the `/usr/local/bin/` directory.
You can verify your installation by typing `tryswiftdev` in a Terminal.app.
@@ -38,9 +40,9 @@ $ tryswiftdev
```
-d [--duplicate-readme] Duplicate an existing README.md.
- Do not overwrite an existing file.
+ Do not overwrite an existing file.
-r [--replace-readme] Replace strings in a README.md
- located in the current directory.
+ located in the current directory.
-h [--help] Display available options.
```
@@ -62,7 +64,7 @@ HomeDirectory
### Duplicating a README.md
```bash
-$ tryswiftdev -d ../Pokemon ../DragonBall
+$ tryswiftdev -d ./Pokemon ./DragonBall
```
```
diff --git a/Sources/Option.swift b/Sources/Option.swift
index 88617b0..c7e2bdc 100644
--- a/Sources/Option.swift
+++ b/Sources/Option.swift
@@ -20,10 +20,10 @@ enum Options: String, CustomStringConvertible {
switch self {
case .DuplicateReadme:
return "Duplicate an existing README.md."
- + "\n Do not overwrite an existing file."
+ + "\n Do not overwrite an existing file."
case .ReplaceStringsInReadme:
return "Replace strings in a README.md"
- + "\n located in the current directory."
+ + "\n located in the current directory."
case .Usage:
return "Display available options."
}
diff --git a/Sources/Readme.swift b/Sources/Readmemd.swift
similarity index 80%
rename from Sources/Readme.swift
rename to Sources/Readmemd.swift
index d897f79..b93e358 100644
--- a/Sources/Readme.swift
+++ b/Sources/Readmemd.swift
@@ -4,7 +4,7 @@ let readmeFileName = "README.md"
/// Do not overwrite an existing file.
func duplicateExistingReadme(existingReadmeDirctoryPath sourcePath: String, newReadmeDirectoryPath targetPath: String) {
- excuteCommand(argments: ["cp", "-n", sourcePath + "/" + readmeFileName, targetPath])
+ excuteCommand(argments: ["cp", "-n", "\(sourcePath)/\(readmeFileName)", targetPath])
}
func replaceStringsInReadme(source: String, target: String) {
diff --git a/Sources/Usage.swift b/Sources/Usage.swift
index a87dd14..1678638 100644
--- a/Sources/Usage.swift
+++ b/Sources/Usage.swift
@@ -14,7 +14,7 @@ func usage() {
print(" $ tryswiftdev [option ...]")
print("")
print("EXAMPLE:")
- print(" $ tryswiftdev -d ../Pokemon ../DragonBall")
+ print(" $ tryswiftdev -d ./Pokemon ./DragonBall")
print(" $ tryswiftdev -r Pokemon DragonBall")
print("")
print("_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/")