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

nl: move help strings to a markdown file #4477

Merged
merged 3 commits into from
Mar 9, 2023
Merged

Conversation

wuseyu
Copy link
Contributor

@wuseyu wuseyu commented Mar 8, 2023

#4368

After this PR, nl --help gives the following output.

Number lines of files

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

Options:
      --help                           Print help information.
  -b, --body-numbering <SYNTAX>        use STYLE for numbering body lines
  -d, --section-delimiter <CC>         use CC for separating logical pages
  -f, --footer-numbering <STYLE>       use STYLE for numbering footer lines
  -h, --header-numbering <STYLE>       use STYLE for numbering header lines
  -i, --line-increment <NUMBER>        line number increment at each line
  -l, --join-blank-lines <NUMBER>      group of NUMBER empty lines counted as one
  -n, --number-format <FORMAT>         insert line numbers according to FORMAT
  -p, --no-renumber <no-renumber>      do not reset line numbers at logical pages
  -s, --number-separator <STRING>      add STRING after (possible) line number
  -v, --starting-line-number <NUMBER>  first line number on each logical page
  -w, --number-width <NUMBER>          use NUMBER columns for line numbers
  -V, --version                        Print version information

src/uu/nl/nl.md Outdated

Number lines of files


Copy link
Contributor

Choose a reason for hiding this comment

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

please remove the useless space at the end

@uutils uutils deleted a comment from github-actions bot Mar 9, 2023
@sylvestre sylvestre merged commit 7598404 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.

2 participants