cli dollcode encoder and decoder

remove ascii references

was causing clap to panic about it's ArgAction

0xda157 1b876f99 1325cdb6

-8
-8
src/main.rs
··· 20 if let Some(ematches) = matches.subcommand_matches("encode") { 21 let input = ematches.get_one::<String>("input").unwrap(); 22 23 - if matches.get_flag("ascii") { 24 - return; 25 - } 26 - 27 if let Some(s) = input.strip_prefix("0x") { 28 println!( 29 "{}", ··· 52 53 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 - } 59 60 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(); 22 23 if let Some(s) = input.strip_prefix("0x") { 24 println!( 25 "{}", ··· 48 49 if let Some(dmatches) = matches.subcommand_matches("decode") { 50 let dollcode = dmatches.get_one::<String>("dollcode").unwrap(); 51 52 if matches.get_flag("hex") { 53 println!("{:X}", dollcode_decode(dollcode));