Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Commit 9aae3d4

Browse files
committed
fix dir flag
1 parent a126857 commit 9aae3d4

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

src/commands/dev/index.js

+15-4
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,17 @@ DevCommand.examples = [
312312
DevCommand.strict = false;
313313

314314
DevCommand.flags = {
315-
command: flags.string({ char: "c", description: "command to run" }),
316-
port: flags.integer({ char: "p", description: "port of netlify dev" }),
317-
dir: flags.integer({ char: "d", description: "dir with static files" }),
315+
command: flags.string({
316+
char: "c",
317+
description: "command to run"
318+
}),
319+
port: flags.integer({
320+
char: "p",
321+
description: "port of netlify dev" }),
322+
dir: flags.string({
323+
char: "d",
324+
description: "dir with static files"
325+
}),
318326
functions: flags.string({
319327
char: "f",
320328
description: "Specify a functions folder to serve"
@@ -323,7 +331,10 @@ DevCommand.flags = {
323331
char: "o",
324332
description: "disables any features that require network access"
325333
}),
326-
live: flags.boolean({ char: "l", description: "Start a public live session" })
334+
live: flags.boolean({
335+
char: "l",
336+
description: "Start a public live session"
337+
})
327338
};
328339

329340
module.exports = DevCommand;

0 commit comments

Comments
 (0)