fix typo, update some examples and regenerate docs (#4718)

This commit is contained in:
Justin Ma
2022-03-04 20:10:09 +08:00
committed by GitHub
parent eeef9f27eb
commit 1157fcf372
347 changed files with 436 additions and 374 deletions

View File

@ -33,7 +33,7 @@ fn error_when_invalid_character_set_given() {
let actual = nu!(
cwd: ".", pipeline(
r#"
echo 'username:password' | hash base64 --character_set 'this is invalid' --encode
echo 'username:password' | hash base64 --character-set 'this is invalid' --encode
"#
)
);
@ -50,7 +50,7 @@ fn base64_decode_characterset_binhex() {
let actual = nu!(
cwd: ".", pipeline(
r#"
echo "F@0NEPjJD97kE'&bEhFZEP3" | hash base64 --character_set binhex --decode
echo "F@0NEPjJD97kE'&bEhFZEP3" | hash base64 --character-set binhex --decode
"#
)
);