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

basenc: add help texts for options #4850

Merged
merged 1 commit into from
May 9, 2023

Conversation

cakebaker
Copy link
Contributor

This PR adds some missing help texts.

Before:

Options:
  -d, --decode          decode data
  -i, --ignore-garbage  when decoding, ignore non-alphabetic characters
  -w, --wrap <COLS>     wrap encoded lines after COLS character (default 76, 0 to disable wrapping)
      --base64          
      --base64url       
      --base32          
      --base32hex       
      --base16          
      --base2lsbf       
      --base2msbf       
      --z85             
  -h, --help            Print help
  -V, --version         Print version

After:

Options:
  -d, --decode          decode data
  -i, --ignore-garbage  when decoding, ignore non-alphabetic characters
  -w, --wrap <COLS>     wrap encoded lines after COLS character (default 76, 0 to disable wrapping)
      --base64          same as 'base64' program
      --base64url       file- and url-safe base64
      --base32          same as 'base32' program
      --base32hex       extended hex alphabet base32 https://google.com
      --base16          hex encoding
      --base2lsbf       bit string with least significant bit (lsb) first
      --base2msbf       bit string with most significant bit (msb) first
      --z85             ascii85-like encoding;
                        when encoding, input length must be a multiple of 4;
                        when decoding, input length must be a multiple of 5
  -h, --help            Print help
  -V, --version         Print version

@sylvestre sylvestre merged commit f901f95 into uutils:main May 9, 2023
@cakebaker cakebaker deleted the basenc_add_help_texts branch May 9, 2023 11:24
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