Skip to content

Commit

Permalink
cli: fixed example calls in help text to show the executable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRentzCAU committed Jul 24, 2023
1 parent 7a83cdf commit 9146c18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions applications/klighd-cli/server/klighd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ variable. If both a path and a port for a language server is provided, the webse
will use the port to connect to the listening language server.
Example calls:
$ ${process.title} --ls_port 5007 ./ABRO.sctx
$ ${process.title} --ls_path ../language-server.jar ./example.elkt
$ ${process.title} serve -p 8000
$ ${process.execPath.split('\\').pop()?.split('/').pop()} --ls_port 5007 ./ABRO.sctx
$ ${process.execPath.split('\\').pop()?.split('/').pop()} --ls_path ../language-server.jar ./example.elkt
$ ${process.execPath.split('\\').pop()?.split('/').pop()} serve -p 8000
`;

const program = new Command(process.title);
Expand Down

0 comments on commit 9146c18

Please sign in to comment.