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

readlink: move help strings to markdown file #4770

Merged
merged 3 commits into from
Apr 22, 2023

Conversation

m11o
Copy link
Contributor

@m11o m11o commented Apr 22, 2023

issue: #4368

This PR contains bellow contents.

  • Move help strings to markdown file e82ba6e
  • Use override_usage method instead of override_help method b84a94b

readlink --help outputs follow.

before

$ ./target/debug/readlink --help
./target/debug/readlink [OPTION]... [FILE]...

after

$ ./target/debugreadlink --help
Print value of a symbolic link or canonical file name.

Usage: ./target/debug/readlink [OPTION]... [FILE]...

Arguments:
  [files]...

Options:
  -f, --canonicalize           canonicalize by following every symlink in every component of the given name recursively; all but the last component must exist
  -e, --canonicalize-existing  canonicalize by following every symlink in every component of the given name recursively, all components must exist
  -m, --canonicalize-missing   canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence
  -n, --no-newline             do not output the trailing delimiter
  -q, --quiet                  suppress most error messages
  -s, --silent                 suppress most error messages
  -v, --verbose                report error message
  -z, --zero                   separate output with NUL rather than newline
  -h, --help                   Print help
  -V, --version                Print version

@github-actions
Copy link

GNU testsuite comparison:

GNU test failed: tests/tail-2/inotify-dir-recreate. tests/tail-2/inotify-dir-recreate is passing on 'main'. Maybe you have to rebase?

@tertsdiepraam
Copy link
Member

Excellent! Thanks!

@tertsdiepraam tertsdiepraam merged commit 698bdf5 into uutils:main Apr 22, 2023
@m11o m11o deleted the readlink-move-strings-to-md-file branch April 22, 2023 10:50
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.

2 participants