Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a usage or help screen #4

Closed
benji011 opened this issue Jul 6, 2023 · 1 comment
Closed

Add a usage or help screen #4

benji011 opened this issue Jul 6, 2023 · 1 comment

Comments

@benji011
Copy link

benji011 commented Jul 6, 2023

This also happens if I try to just execute lineselect.
But I'm expecting a help message to show like other commands like gh does

❯ lineselect --help
fs.js:618
  handleErrorFromBinding(ctx);
  ^

Error: EAGAIN: resource temporarily unavailable, read
    at Object.readSync (fs.js:618:3)
    at tryReadSync (fs.js:383:20)
    at Object.readFileSync (fs.js:420:19)
    at file:///Users/benji.lo/.nvm/versions/node/v14.21.1/lib/node_modules/lineselect/dist/cli.js:7:17
    at <anonymous> (<anonymous>) {
  errno: -35,
  syscall: 'read',
  code: 'EAGAIN'
}
@chfritz chfritz changed the title Resource temporarily unavailable when trying to access help Add a usage or help screen Jul 6, 2023
@chfritz
Copy link
Owner

chfritz commented Jul 6, 2023

Thanks for the suggestion. Yes, you are probably right, we should add a help screen. PR welcome, otherwise I'll try to add it soon.

@chfritz chfritz closed this as completed in c4bd3c8 Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants