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

Mention the builtin "help" #32

Closed
jalanb opened this issue Jun 16, 2015 · 2 comments
Closed

Mention the builtin "help" #32

jalanb opened this issue Jun 16, 2015 · 2 comments

Comments

@jalanb
Copy link
Contributor

jalanb commented Jun 16, 2015

As the guide is so Bash-centric I suggest mentioning the builtin "help" command, as it can be the only source of extra info for some commands (other builtins)

For example, disown is mentioned so I tried to find out more about it

$ man disown
No manual entry for disown
$ disown --help
bash: disown: --: invalid option
disown: usage: disown [-h] [-ar] [jobspec ...]
$ disown -h
bash: disown: current: no such job
$ help disown
disown: disown [-h] [-ar] [jobspec ...]
    Remove jobs from current shell.

    Removes each JOBSPEC argument from the table of active jobs.  Without
    any JOBSPECs, the shell uses its notion of the current job.

    Options:
      -a    remove all jobs if JOBSPEC is not supplied
      -h    mark each JOBSPEC so that SIGHUP is not sent to the job if the
        shell receives a SIGHUP
      -r    remove only running jobs

    Exit Status:
    Returns success unless an invalid option or JOBSPEC is given.
@jlevy
Copy link
Owner

jlevy commented Jun 20, 2015

Fixed in 23c653b

@jlevy jlevy closed this as completed Jun 20, 2015
@jlevy
Copy link
Owner

jlevy commented Jun 20, 2015

Thanks!

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