Skip to content

Commit 339f39b

Browse files
Don't set default dest in CLI
If no `dest` is passed, docopt would still force it to `sassdoc` and the rest of the code would think `dest` was set explicitely via CLI, thus overriding any `dest` from potential configuration file.
1 parent b377479 commit 339f39b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Options:
1010
-h, --help Bring help.
1111
--version Show version.
1212
-v, --verbose Enable verbose mode.
13-
-d, --dest=<dir> Documentation folder [default: sassdoc].
13+
-d, --dest=<dir> Documentation folder.
1414
-c, --config=<path> Path to JSON/YAML configuration file.
1515
-t, --theme=<name> Theme to use.
1616
-p, --parse Parse the input and output JSON data to stdout.

0 commit comments

Comments
 (0)