Skip to content

Commit 16077d9

Browse files
committed
cleanup help
1 parent 73f71df commit 16077d9

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed

src/index.ts

+7-19
Original file line numberDiff line numberDiff line change
@@ -38,31 +38,19 @@ export const main = (args: minimist.ParsedArgs) => {
3838
}
3939

4040
function printHelp() {
41-
const helpText = `
42-
=================================
43-
@nealwp/blobview
44-
=================================
41+
const helpText = `Generate BigQuery SQL views from JSON.
4542
46-
Generate BigQuery SQL views from JSON.
47-
48-
Usage:
49-
50-
@nealwp/blobview [options] <filepath>
43+
Usage:
44+
@nealwp/blobview [options] <filepath>
5145
5246
Arguments:
53-
54-
filepath path to valid JSON file
47+
filepath path to valid JSON file
5548
5649
Options:
50+
-t TABLE, --table=TABLE specify a table name to use in FROM clause. default: "<table>"
51+
-d DATASET, --dataset=DATASET specify a dataset to use in FROM clause. default: "<dataset>"
52+
-h, --help show help`
5753

58-
--help, -h show help
59-
60-
--dataset=DATASET, specify a dataset to use in FROM clause. default: "<dataset>"
61-
-d DATASET
62-
63-
--table=TABLE, specify a table name to use in FROM clause. default: "<table>"
64-
-t TABLE
65-
`
6654
console.log(helpText)
6755
}
6856

0 commit comments

Comments
 (0)