Lines Matching refs:writeln
96 writeln!(w, "flag NOT present").unwrap();
99 writeln!(w, "flag present {} times", n).unwrap();
105 writeln!(w, "option present with value: {}", v).unwrap();
109 writeln!(w, "An option: {}", o).unwrap();
113 writeln!(w, "option NOT present").unwrap();
117 writeln!(w, "positional present with value: {}", p).unwrap();
119 writeln!(w, "positional NOT present").unwrap();
123 writeln!(w, "flag2 present").unwrap();
124 writeln!(
133 writeln!(
143 writeln!(w, "flag2 NOT present").unwrap();
144 writeln!(
153 writeln!(
169 "fast" => writeln!(w, "option3 present quickly"),
170 "slow" => writeln!(w, "option3 present slowly"),
171 _ => writeln!(w, "option3 NOT present"),
179 "vi" => writeln!(w, "positional3 present in vi mode"),
180 "emacs" => writeln!(w, "positional3 present in emacs mode"),
181 _ => writeln!(w, "positional3 NOT present"),
186 writeln!(w, "option present with value: {}", v).unwrap();
190 writeln!(w, "An option: {}", o).unwrap();
194 writeln!(w, "option NOT present").unwrap();
198 writeln!(w, "positional present with value: {p}").unwrap();
200 writeln!(w, "positional NOT present").unwrap();
203 writeln!(w, "subcmd present").unwrap();
207 writeln!(w, "flag NOT present").unwrap();
210 writeln!(w, "flag present {n} times").unwrap();
216 writeln!(w, "scoption present with value: {v}").unwrap();
220 writeln!(w, "An scoption: {o}").unwrap();
224 writeln!(w, "scoption NOT present").unwrap();
231 writeln!(w, "scpositional present with value: {p}").unwrap();
235 writeln!(w, "subcmd NOT present").unwrap();