Skip to content

Commit 12ea1a9

Browse files
committed
Update CLI
1 parent 867d372 commit 12ea1a9

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,8 @@ Options:
368368
--snapshots, -S Set snapshots directory [default: "."]
369369
--delay, -d Add delay to responses (ms)
370370
--id, -i Set database id property (e.g. _id) [default: "id"]
371+
--foreignKeySuffix, --fks Set foreign key suffix, (e.g. _id as in post_id)
372+
[default: "Id"]
371373
--quiet, -q Suppress log messages from output [boolean]
372374
--help, -h Show help [boolean]
373375
--version, -v Show version number [boolean]

src/cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module.exports = function () {
6565
},
6666
foreignKeySuffix: {
6767
alias: 'fks',
68-
description: 'Set foreign key suffix, (e.g. _id as in post_id)',
68+
description: 'Set foreign key suffix (e.g. _id as in post_id)',
6969
default: 'Id'
7070
},
7171
quiet: {

0 commit comments

Comments
 (0)