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

nproc: move help strings to markdown file #4579

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

piotrkwiecinski
Copy link
Contributor

#4368

nproc --help outputs the following:

target/debug/nproc --help
Print the number of cores available to the current process.
If the `OMP_NUM_THREADS` or `OMP_THREAD_LIMIT` environment variables are set, then
they will determine the minimum and maximum returned value respectively.

Usage: ./target/debug/nproc [OPTIONS]...

Options:
      --all         print the number of cores available to the system
      --ignore <N>  ignore up to N cores
  -h, --help        Print help
  -V, --version     Print version

```

Print the number of cores available to the current process.
If the `OMP_NUM_THREADS` or `OMP_THREAD_LIMIT` environment variables are set, then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for adding the ` ;)

@cakebaker cakebaker merged commit c2f2301 into uutils:main Mar 23, 2023
@cakebaker
Copy link
Contributor

Thanks!

@piotrkwiecinski piotrkwiecinski deleted the nproc-move-string-to-md-file branch March 26, 2023 12:08
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

Successfully merging this pull request may close these issues.

3 participants