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

split: move help strings to markdown file #4785

Merged
merged 3 commits into from
Apr 26, 2023

Conversation

m11o
Copy link
Contributor

@m11o m11o commented Apr 25, 2023

issue: #4368

split --help outputs follow.

$ ./target/debug/split --help
Create output files containing consecutive or interleaved sections of input

Usage: ./target/debug/split [OPTION]... [INPUT [PREFIX]]

Arguments:
  [input]   [default: -]
  [prefix]  [default: x]

Options:
  -b, --bytes <SIZE>
          put SIZE bytes per output file
  -C, --line-bytes <SIZE>
          put at most SIZE bytes of lines per output file [default: 2]
  -l, --lines <NUMBER>
          put NUMBER lines/records per output file [default: 1000]
  -n, --number <CHUNKS>
          generate CHUNKS output files; see explanation below
      --additional-suffix <SUFFIX>
          additional SUFFIX to append to output file names [default: ]
      --filter <COMMAND>
          write to shell COMMAND; file name is $FILE (Currently not implemented for Windows)
  -e, --elide-empty-files
          do not generate empty output files with '-n'
  -d, --numeric-suffixes [<numeric-suffixes>]
          use numeric suffixes instead of alphabetic
  -a, --suffix-length <N>
          use suffixes of fixed length N. 0 implies dynamic length. [default: 0]
  -x, --hex-suffixes [<hex-suffixes>]
          use hex suffixes instead of alphabetic
      --verbose
          print a diagnostic just before each output file is opened
  -h, --help
          Print help
  -V, --version
          Print version

Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default size is 1000, and default PREFIX is
'x'. With no INPUT, or when INPUT is -, read standard input.

@m11o m11o force-pushed the split-move-strings-to-md-file branch from f7c91f3 to 0b84aa5 Compare April 25, 2023 13:27
@cakebaker cakebaker merged commit 621acfd into uutils:main Apr 26, 2023
@cakebaker
Copy link
Contributor

Thanks :)

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