Skip to content

Commit

Permalink
Merge pull request #227 from munshkr/fix/repl-default-args
Browse files Browse the repository at this point in the history
fix(repl): Default `--types` arg should be an array, not a string
  • Loading branch information
munshkr authored Jan 13, 2024
2 parents e26d64b + 0814938 commit e4ee129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/repl/bin/flok-repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const program = new Command();

program.version(packageInfo.version);
program
.option("-t, --types <types...>", "Type/s of REPL", "command")
.option("-t, --types <types...>", "Type/s of REPL", ["command"])
.option("-H, --hub <url>", "Server (or \"hub\") address", "ws://localhost:3000")
.option("-s, --session-name <name>", "Session name", "default")
.option("-n, --target-name <name>", "Use the specified target name")
Expand Down

0 comments on commit e4ee129

Please sign in to comment.