Lines Matching full:ctest
59 let cmd = Command::new("ctest").subcommand( in help_multi_subcommand_error()
79 .try_get_matches_from(["ctest", "help", "subcmd", "multi", "foo"]) in help_multi_subcommand_error()
84 Usage: ctest subcmd multi [OPTIONS] in help_multi_subcommand_error()
304 Usage: ctest subcmd multi [OPTIONS]
315 let cmd = Command::new("ctest").subcommand( in multi_level_sc_help()
334 utils::assert_output(cmd, "ctest help subcmd multi", MULTI_SC_HELP, false); in multi_level_sc_help()
340 Usage: ctest in no_wrap_default_help()
347 let cmd = Command::new("ctest").version("1.0").term_width(0); in no_wrap_default_help()
348 utils::assert_output(cmd, "ctest --help", DEFAULT_HELP, false); in no_wrap_default_help()
534 Usage: ctest [OPTIONS] in issue_626_unicode_cutoff()
549 let cmd = Command::new("ctest").version("0.1").term_width(70).arg( in issue_626_unicode_cutoff()
564 utils::assert_output(cmd, "ctest --help", ISSUE_626_CUTOFF, false); in issue_626_unicode_cutoff()
568 Usage: ctest [OPTIONS]
579 let cmd = Command::new("ctest") in hide_possible_vals()
600 utils::assert_output(cmd, "ctest --help", HIDE_POS_VALS, false); in hide_possible_vals()
605 let cmd = Command::new("ctest") in hide_single_possible_val()
628 utils::assert_output(cmd, "ctest --help", HIDE_POS_VALS, false); in hide_single_possible_val()
634 Usage: ctest [OPTIONS] in possible_vals_with_help()
653 let app = Command::new("ctest") in possible_vals_with_help()
676 utils::assert_output(app, "ctest --help", POS_VALS_HELP, false); in possible_vals_with_help()
682 Usage: ctest [pos] in hidden_possible_vals()
690 let app = Command::new("ctest").arg( in hidden_possible_vals()
699 utils::assert_output(app, "ctest --help", POS_VALS_HELP, false); in hidden_possible_vals()
706 Usage: ctest [OPTIONS] in issue_626_panic()
723 let cmd = Command::new("ctest") in issue_626_panic()
734 utils::assert_output(cmd, "ctest --help", ISSUE_626_PANIC, false); in issue_626_panic()
741 let _ = Command::new("ctest") in issue_626_variable_panic()
752 .try_get_matches_from(vec!["ctest", "--help"]); in issue_626_variable_panic()
760 Usage: ctest in final_word_wrapping()
769 let cmd = Command::new("ctest").version("0.1").term_width(24); in final_word_wrapping()
770 utils::assert_output(cmd, "ctest --help", FINAL_WORD_WRAPPING, false); in final_word_wrapping()
777 Usage: ctest [mode] in wrapping_newline_chars()
791 let cmd = Command::new("ctest") in wrapping_newline_chars()
799 utils::assert_output(cmd, "ctest --help", WRAPPING_NEWLINE_CHARS, false); in wrapping_newline_chars()
806 Usage: ctest [mode] in wrapping_newline_variables()
820 let cmd = Command::new("ctest") in wrapping_newline_variables()
828 utils::assert_output(cmd, "ctest --help", WRAPPING_NEWLINE_CHARS, false); in wrapping_newline_variables()
859 Usage: ctest [OPTIONS]
870 let cmd = Command::new("ctest").version("0.1").arg( in old_newline_chars()
876 utils::assert_output(cmd, "ctest --help", OLD_NEWLINE_CHARS, false); in old_newline_chars()
881 let cmd = Command::new("ctest").version("0.1").arg( in old_newline_variables()
887 utils::assert_output(cmd, "ctest --help", OLD_NEWLINE_CHARS, false); in old_newline_variables()
894 Usage: ctest [OPTIONS] in issue_688_hide_pos_vals()
906 let app1 = Command::new("ctest") in issue_688_hide_pos_vals()
916 utils::assert_output(app1, "ctest --help", ISSUE_688, false); in issue_688_hide_pos_vals()
918 let app2 = Command::new("ctest") in issue_688_hide_pos_vals()
927 utils::assert_output(app2, "ctest --help", ISSUE_688, false); in issue_688_hide_pos_vals()
929 let app3 = Command::new("ctest") in issue_688_hide_pos_vals()
937 utils::assert_output(app3, "ctest --help", ISSUE_688, false); in issue_688_hide_pos_vals()
1220 Usage: ctest in issue_777_wrap_all_things()
1233 utils::assert_output(cmd, "ctest --help", ISSUE_777, false); in issue_777_wrap_all_things()
1780 Usage: ctest foo
1792 let cmd = Command::new("ctest").version("0.1").subcommand( in show_long_about_issue_897()
1798 utils::assert_output(cmd, "ctest foo --help", ISSUE_897, false); in show_long_about_issue_897()
1804 Usage: ctest foo
1813 let cmd = Command::new("ctest").version("0.1").subcommand( in show_short_about_issue_897()
1819 utils::assert_output(cmd, "ctest foo -h", ISSUE_897_SHORT, false); in show_short_about_issue_897()
1857 Usage: ctest <arg1|arg2> in issue_1487()
1875 utils::assert_output(cmd, "ctest -h", ISSUE_1487, false); in issue_1487()
2747 Usage: ctest subcmd in parent_cmd_req_ignored_when_negates_reqs()
2753 let cmd = Command::new("ctest") in parent_cmd_req_ignored_when_negates_reqs()
2757 utils::assert_output(cmd, "ctest subcmd --help", MULTI_SC_HELP, false); in parent_cmd_req_ignored_when_negates_reqs()
2763 Usage: ctest subcmd in parent_cmd_req_ignored_when_conflicts()
2769 let cmd = Command::new("ctest") in parent_cmd_req_ignored_when_conflicts()
2773 utils::assert_output(cmd, "ctest subcmd --help", MULTI_SC_HELP, false); in parent_cmd_req_ignored_when_conflicts()
2778 let cmd = Command::new("ctest") in no_wrap_help()
2781 utils::assert_output(cmd, "ctest --help", MULTI_SC_HELP, false); in no_wrap_help()