Skip to content

Commit 6039288

Browse files
committed
Change argument to be optional
1 parent 285dbb3 commit 6039288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/electron.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ app.whenReady().then(() =>
432432
program
433433
.version(app.getVersion())
434434
.usage('[options] <input file/folder>')
435-
.argument('<input file/folder>', 'input drawio file or a folder with drawio files')
435+
.argument('[input file/folder]', 'input drawio file or a folder with drawio files')
436436
.allowUnknownOption() //-h and --help are considered unknown!!
437437
.option('-c, --create', 'creates a new empty file if no file is passed')
438438
.option('-k, --check', 'does not overwrite existing files')

0 commit comments

Comments
 (0)