Searched refs:get_one (Results 1 – 25 of 48) sorted by relevance
12
66 sub_matches.get_one::<String>("REMOTE").expect("required") in main()71 .get_one::<String>("color") in main()75 let mut base = sub_matches.get_one::<String>("base").map(|s| s.as_str()); in main()76 let mut head = sub_matches.get_one::<String>("head").map(|s| s.as_str()); in main()77 let mut path = sub_matches.get_one::<String>("path").map(|s| s.as_str()); in main()94 sub_matches.get_one::<String>("REMOTE").expect("required") in main()109 let stash = sub_matches.get_one::<String>("STASH"); in main()113 let stash = sub_matches.get_one::<String>("STASH"); in main()117 let message = sub_matches.get_one::<String>("message"); in main()
52 sub_matches.get_one::<String>("REMOTE").expect("required") in main()58 sub_matches.get_one::<String>("REMOTE").expect("required") in main()73 let stash = sub_matches.get_one::<String>("STASH"); in main()77 let stash = sub_matches.get_one::<String>("STASH"); in main()81 let message = sub_matches.get_one::<String>("message"); in main()
30 if let Some(name) = matches.get_one::<String>("name") { in main()34 if let Some(config_path) = matches.get_one::<PathBuf>("config") { in main()41 .get_one::<u8>("debug") in main()54 if *matches.get_one::<bool>("list").expect("defaulted by clap") { in main()
48 let version = if let Some(ver) = matches.get_one::<String>("set-ver") { in main()71 .get_one::<PathBuf>("INPUT_FILE") in main()72 .unwrap_or_else(|| matches.get_one::<PathBuf>("spec-in").unwrap()) in main()77 matches.get_one::<PathBuf>("config").unwrap().display() in main()
36 let version = if let Some(ver) = matches.get_one::<String>("set-ver") { in main()72 .get_one::<PathBuf>("INPUT_FILE") in main()73 .or_else(|| matches.get_one::<PathBuf>("spec-in")) in main()85 matches.get_one::<PathBuf>("config").unwrap().display() in main()
12 matches.get_one::<String>("two").expect("required") in main()16 matches.get_one::<String>("one").expect("required") in main()
14 matches.get_one::<String>("two").expect("required") in main()18 matches.get_one::<String>("one").expect("required") in main()
13 matches.get_one::<String>("two").expect("required") in main()17 matches.get_one::<String>("one").expect("required") in main()
8 println!("NAME: {:?}", matches.get_one::<String>("NAME")); in main()
11 .get_one::<String>("NAME") in main()
8 println!("name: {:?}", matches.get_one::<String>("name")); in main()
14 .get_one::<String>("MODE") in main()
46 let version = if let Some(ver) = matches.get_one::<String>("set-ver") { in main()69 .get_one::<PathBuf>("INPUT_FILE") in main()70 .unwrap_or_else(|| matches.get_one::<PathBuf>("spec-in").unwrap()) in main()75 matches.get_one::<PathBuf>("config").unwrap().display() in main()
32 let version = if let Some(ver) = matches.get_one::<String>("set-ver") { in main()68 .get_one::<PathBuf>("INPUT_FILE") in main()69 .or_else(|| matches.get_one::<PathBuf>("spec-in")) in main()81 matches.get_one::<PathBuf>("config").unwrap().display() in main()
27 if let Some(name) = matches.get_one::<String>("name") { in main()31 if let Some(config_path) = matches.get_one::<PathBuf>("config") { in main()38 .get_one::<u8>("debug") in main()
13 println!("name: {:?}", matches.get_one::<String>("name")); in main()
15 .get_one::<u16>("PORT") in main()
272 def get_one(type): function382 src_one = get_one(src_channel)383 dst_one = get_one(dst_channel)401 one = get_one(src_channel)425 dst_one = get_one(dst_channel)509 value = get_one(dst_channel)536 value = get_one(dst_channel)
8 m.lacking_copy_ctor.get_one()14 m.lacking_move_ctor.get_one()