base64: Rename --allow-garbage to --ignore-garbage
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e1ac9473a2
commit
7c8f195088
@ -12,7 +12,7 @@ Result<int> luna_main(int argc, char** argv)
|
||||
parser.add_description("Encode or decode Base64 data. If not given a file, reads from standard input.");
|
||||
parser.add_positional_argument(path, "file", "-"_sv);
|
||||
parser.add_switch_argument(decode, 'd', "decode", "decode data");
|
||||
parser.add_switch_argument(allow_garbage, ' ', "allow-garbage", "ignore non-base64 characters");
|
||||
parser.add_switch_argument(allow_garbage, 'i', "ignore-garbage", "when decoding, ignore non-base64 characters");
|
||||
parser.parse(argc, argv);
|
||||
|
||||
auto file = TRY(os::File::open_input_file(path));
|
||||
|
Loading…
Reference in New Issue
Block a user