Skip to content

Commit 4d87d0e

Browse files
committed
Some explanations of subdir creation
1 parent e8626d1 commit 4d87d0e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/GUIDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,8 @@ the current one by issueing:
524524
cueball:~$ stack unpack yackage-0.8.0 --to ~/work
525525
```
526526

527+
This will create a `yackage-0.8.0` directory inside `~/work`
528+
527529
### stack init
528530
This new directory does not have a `stack.yaml` file, so we need to make one
529531
first. We could do it by hand, but let's be lazy instead with the `stack init`

src/main/Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ commandLineHandler currentDir progName isInterpreter = complicatedOptions
307307
unpackCmd
308308
((,) <$> some (strArgument $ metavar "PACKAGE")
309309
<*> optional (textOption $ long "to" <>
310-
help "Optional path to unpack the package into"))
310+
help "Optional path to unpack the package into (will unpack into subdirectory)"))
311311
addCommand' "update"
312312
"Update the package index"
313313
updateCmd

0 commit comments

Comments
 (0)