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

wc: move help strings to markdown file #4453

Merged
merged 7 commits into from
Mar 3, 2023

Conversation

alexkunde
Copy link
Contributor

#4368

wc --help now outputs the following:

./target/debug/coreutils wc --help
Display newline, word, and byte counts for each FILE, and a total line if
more than one FILE is specified. With no FILE, or when FILE is -, read standard input.

Usage: ./target/debug/coreutils wc [OPTION]... [FILE]...

Arguments:
  [files]...

Options:
  -c, --bytes            print the byte counts
  -m, --chars            print the character counts
      --files0-from <F>  read input from the files specified by
                             NUL-terminated names in file F;
                             If F is - then read names from standard input
  -l, --lines            print the newline counts
  -L, --max-line-length  print the length of the longest line
  -w, --words            print the word counts
  -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.

Thanks! I've approved the CI and left 2 small comments

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

github-actions bot commented Mar 2, 2023

GNU testsuite comparison:

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

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

github-actions bot commented Mar 3, 2023

GNU testsuite comparison:

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

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