Skip to content

Commit de38b6f

Browse files
committed
fix input args
1 parent 16077d9 commit de38b6f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/index.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@ export const main = (args: minimist.ParsedArgs) => {
2020
return
2121
}
2222

23-
if (args.table || args.t) {
23+
if (args.table) {
2424
table = args.table
25+
} else if (args.t) {
26+
table = args.t
2527
}
2628

27-
if (args.dataset || args.d) {
29+
if (args.dataset) {
2830
dataset = args.dataset
31+
} else if (args.d) {
32+
dataset = args.d
2933
}
3034

3135
try {

0 commit comments

Comments
 (0)