Skip to content

Commit 73cdbad

Browse files
committed
Add --version && --help CLI arguments
1 parent 5661833 commit 73cdbad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,11 @@ if (!amMainInstance) {
107107
const args = yargs
108108
.option('with-forwarding', {
109109
type: 'string',
110-
hidden: true
110+
hidden: true,
111+
description: "Preconfigure a forwarding address, for integration with other tools."
111112
})
113+
.version(DESKTOP_VERSION)
114+
.help()
112115
.argv;
113116

114117
if (

0 commit comments

Comments
 (0)