···20 if let Some(ematches) = matches.subcommand_matches("encode") {
21 let input = ematches.get_one::<String>("input").unwrap();
2223- if matches.get_flag("ascii") {
24- return;
25- }
26-27 if let Some(s) = input.strip_prefix("0x") {
28 println!(
29 "{}",
···5253 if let Some(dmatches) = matches.subcommand_matches("decode") {
54 let dollcode = dmatches.get_one::<String>("dollcode").unwrap();
55-56- if matches.get_flag("ascii") {
57- return;
58- }
5960 if matches.get_flag("hex") {
61 println!("{:X}", dollcode_decode(dollcode));
···20 if let Some(ematches) = matches.subcommand_matches("encode") {
21 let input = ematches.get_one::<String>("input").unwrap();
22000023 if let Some(s) = input.strip_prefix("0x") {
24 println!(
25 "{}",
···4849 if let Some(dmatches) = matches.subcommand_matches("decode") {
50 let dollcode = dmatches.get_one::<String>("dollcode").unwrap();
00005152 if matches.get_flag("hex") {
53 println!("{:X}", dollcode_decode(dollcode));