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

uname: move help strings to a markdown file #4476

Merged
merged 2 commits into from
Mar 9, 2023
Merged

Conversation

IZUMI-Zu
Copy link
Contributor

@IZUMI-Zu IZUMI-Zu commented Mar 8, 2023

#4368
After this PR, uname -h gives the following output.

./target/debug/coreutils uname -h
Print certain system information.
With no OPTION, same as -s.

Usage: ./target/debug/coreutils uname [OPTION]...

Options:
  -a, --all               Behave as though all of the options -mnrsvo were specified.
  -s, --kernel-name       print the kernel name.
  -n, --nodename          print the nodename (the nodename may be a name that the system is known by to a communications
                          network).
  -r, --kernel-release    print the operating system release.
  -v, --kernel-version    print the operating system version.
  -m, --machine           print the machine hardware name.
  -o, --operating-system  print the operating system name.
  -h, --help              Print help information
  -V, --version           Print version information

Copy link
Member

@tertsdiepraam tertsdiepraam left a comment

Choose a reason for hiding this comment

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

Nice! Just one small suggestion

src/uu/uname/uname.md Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Mar 8, 2023

GNU testsuite comparison:

GNU test failed: tests/misc/tee. tests/misc/tee is passing on 'main'. Maybe you have to rebase?

1 similar comment
@github-actions
Copy link

github-actions bot commented Mar 8, 2023

GNU testsuite comparison:

GNU test failed: tests/misc/tee. tests/misc/tee is passing on 'main'. Maybe you have to rebase?

@sylvestre sylvestre merged commit db607ee into uutils:main Mar 9, 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

Successfully merging this pull request may close these issues.

3 participants