mirror of
https://github.com/uutils/coreutils
synced 2024-11-16 09:48:03 +00:00
Merge pull request #3023 from RishiKumarRay/main
basenc, base64 and base32 have an ABOUT that's formatted differently than the other utils
This commit is contained in:
commit
ebf33d775e
3 changed files with 19 additions and 19 deletions
|
@ -12,14 +12,14 @@ use uucore::{encoding::Format, error::UResult};
|
||||||
|
|
||||||
pub mod base_common;
|
pub mod base_common;
|
||||||
|
|
||||||
static ABOUT: &str = "
|
static ABOUT: &str = "\
|
||||||
With no FILE, or when FILE is -, read standard input.
|
With no FILE, or when FILE is -, read standard input.
|
||||||
|
|
||||||
The data are encoded as described for the base32 alphabet in RFC
|
The data are encoded as described for the base32 alphabet in RFC
|
||||||
4648. When decoding, the input may contain newlines in addition
|
4648. When decoding, the input may contain newlines in addition
|
||||||
to the bytes of the formal base32 alphabet. Use --ignore-garbage
|
to the bytes of the formal base32 alphabet. Use --ignore-garbage
|
||||||
to attempt to recover from any other non-alphabet bytes in the
|
to attempt to recover from any other non-alphabet bytes in the
|
||||||
encoded stream.
|
encoded stream.
|
||||||
";
|
";
|
||||||
|
|
||||||
fn usage() -> String {
|
fn usage() -> String {
|
||||||
|
|
|
@ -13,14 +13,14 @@ use uucore::{encoding::Format, error::UResult};
|
||||||
|
|
||||||
use std::io::{stdin, Read};
|
use std::io::{stdin, Read};
|
||||||
|
|
||||||
static ABOUT: &str = "
|
static ABOUT: &str = "\
|
||||||
With no FILE, or when FILE is -, read standard input.
|
With no FILE, or when FILE is -, read standard input.
|
||||||
|
|
||||||
The data are encoded as described for the base64 alphabet in RFC
|
The data are encoded as described for the base64 alphabet in RFC
|
||||||
3548. When decoding, the input may contain newlines in addition
|
3548. When decoding, the input may contain newlines in addition
|
||||||
to the bytes of the formal base64 alphabet. Use --ignore-garbage
|
to the bytes of the formal base64 alphabet. Use --ignore-garbage
|
||||||
to attempt to recover from any other non-alphabet bytes in the
|
to attempt to recover from any other non-alphabet bytes in the
|
||||||
encoded stream.
|
encoded stream.
|
||||||
";
|
";
|
||||||
|
|
||||||
fn usage() -> String {
|
fn usage() -> String {
|
||||||
|
|
|
@ -19,12 +19,12 @@ use uucore::{
|
||||||
|
|
||||||
use std::io::{stdin, Read};
|
use std::io::{stdin, Read};
|
||||||
|
|
||||||
static ABOUT: &str = "
|
static ABOUT: &str = "\
|
||||||
With no FILE, or when FILE is -, read standard input.
|
With no FILE, or when FILE is -, read standard input.
|
||||||
|
|
||||||
When decoding, the input may contain newlines in addition to the bytes of
|
When decoding, the input may contain newlines in addition to the bytes of
|
||||||
the formal alphabet. Use --ignore-garbage to attempt to recover
|
the formal alphabet. Use --ignore-garbage to attempt to recover
|
||||||
from any other non-alphabet bytes in the encoded stream.
|
from any other non-alphabet bytes in the encoded stream.
|
||||||
";
|
";
|
||||||
|
|
||||||
const ENCODINGS: &[(&str, Format)] = &[
|
const ENCODINGS: &[(&str, Format)] = &[
|
||||||
|
|
Loading…
Reference in a new issue