From 96c7e61141d2813426a5131e2a5b9bd439bd47f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20S=C3=A9bert?= Date: Sun, 20 Oct 2024 21:29:26 +0200 Subject: [PATCH] fix: remove now unecessary `-b` flag (#977) The `-b`, that outputs the value as binary, has been removed as it is now the default behaviour. ```sh "U29tZSBEYXRh" | decode base64 2024-10-20 20:56:15 Length: 9 (0x9) bytes | printable whitespace ascii_other non_ascii 00000000: 53 6f 6d 65 20 44 61 74 61 Some Data ``` Docs: https://www.nushell.sh/commands/docs/decode_base64.html --- sourced/imaging/imgcat.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourced/imaging/imgcat.nu b/sourced/imaging/imgcat.nu index 66e1d3c..81e715e 100644 --- a/sourced/imaging/imgcat.nu +++ b/sourced/imaging/imgcat.nu @@ -21,7 +21,7 @@ def --env b64_encode [fn] { } def --env b64_decode [fn] { - $fn | decode base64 -b + $fn | decode base64 } def print_image [