Skip to content

Commit

Permalink
fix(#375): remove -I flag from --help output
Browse files Browse the repository at this point in the history
  • Loading branch information
Aylur committed Apr 4, 2024
1 parent 20c6325 commit aa55cdb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ OPTIONS:
-t, --toggle-window Show or hide a window
-r, --run-js Execute string as an async function
-f, --run-file Execute file as an async function
-I, --init Initialize the configuration directory
--init Initialize the configuration directory
--clear-cache Remove ${Utils.CACHE_DIR} and exit`;

export async function main(args: string[]) {
Expand Down Expand Up @@ -81,7 +81,6 @@ export async function main(args: string[]) {
break;

case 'init':
case '-I':
case '--init':
flags.init = true;
break;
Expand Down

0 comments on commit aa55cdb

Please sign in to comment.