Lines Matching refs:help

50 	char	*help;		/* help string (NULL for no help) */
189 char *help; /* Help information (0 ==> no help) */
228 { "help", 0, 0, 0, send_help, 0, 0 },
250 printf("'send ?' for help\r\n");
263 printf("Unknown send argument '%s'\r\n'send ?' for help.\r\n",
267 printf("Ambiguous send argument '%s'\r\n'send ?' for help.\r\n",
273 "Need %d argument%s to 'send %s' command. 'send %s ?' for help.\r\n",
288 printf("'send ?' for help\r\n");
296 printf("buffer, if this might help.)\r\n");
362 if (isprefix(name, "help") || isprefix(name, "?")) {
384 fprintf(stderr,"'%s': ambiguous argument ('send %s ?' for help).\r\n",
399 fprintf(stderr, "'%s': unknown argument ('send %s ?' for help).\r\n",
403 fprintf(stderr, "'%s': bad value ('send %s ?' for help).\r\n",
421 if (s->help)
422 printf("%-15s %s\r\n", s->name, s->help);
575 char *help; /* help message */
702 { "help",
714 if (c->help) {
715 if (*c->help)
716 printf("%-15s toggle %s\r\n", c->name, c->help);
722 printf("%-15s %s\r\n", "?", "display help information");
732 if (c->help) {
733 if (*c->help)
735 c->help);
754 "Need an argument to 'toggle' command. 'toggle ?' for help.\r\n");
763 fprintf(stderr, "'%s': ambiguous argument ('toggle ?' for help).\r\n",
767 fprintf(stderr, "'%s': unknown argument ('toggle ?' for help).\r\n",
795 char *help; /* help information */
857 printf("Format is 'set Name Value'\r\n'set ?' for help.\r\n");
860 if ((argc == 2) && (isprefix(argv[1], "?") || isprefix(argv[1], "help"))) {
862 printf("%-15s %s\r\n", ct->name, ct->help);
865 printf("%-15s %s\r\n", "?", "display help information");
873 fprintf(stderr, "'%s': unknown argument ('set ?' for help).\r\n",
877 fprintf(stderr, "'%s': ambiguous argument ('set ?' for help).\r\n",
887 printf("Format is 'set togglename [on|off]'\r\n'set ?' for help.\r\n");
898 printf("Format is 'set Name Value'\r\n'set ?' for help.\r\n");
901 fprintf(stderr, "'%s': ambiguous argument ('set ?' for help).\r\n",
929 "Need an argument to 'unset' command. 'unset ?' for help.\r\n");
932 if (isprefix(argv[1], "?") || isprefix(argv[1], "help")) {
934 printf("%-15s %s\r\n", ct->name, ct->help);
937 printf("%-15s %s\r\n", "?", "display help information");
949 fprintf(stderr, "'%s': unknown argument ('unset ?' for help).\r\n",
953 fprintf(stderr, "'%s': ambiguous argument ('unset ?' for help).\r\n",
967 fprintf(stderr, "'%s': ambiguous argument ('unset ?' for help).\r\n",
1031 printf("'mode ?' for help.\r\n");
1057 char *help; /* help string */
1088 { "help", 0, modehelp, 0 },
1093 { "?", "Print help information", modehelp, 0 },
1105 if (mt->help) {
1106 if (*mt->help)
1107 printf("%-15s %s\r\n", mt->name, mt->help);
1125 printf("'mode ?' for help.\r\n");
1127 fprintf(stderr, "Unknown mode '%s' ('mode ?' for help).\r\n", argv[1]);
1129 fprintf(stderr, "Ambiguous mode '%s' ('mode ?' for help).\r\n", argv[1]);
1132 printf("'mode ?' for help.\r\n");
1368 char *help;
1382 { "help", 0, slc_help, 0 },
1383 { "?", "Print help information", slc_help, 0 },
1393 if (c->help) {
1394 if (*c->help)
1395 printf("%-15s %s\r\n", c->name, c->help);
1416 "Need an argument to 'slc' command. 'slc ?' for help.\r\n");
1421 fprintf(stderr, "'%s': unknown argument ('slc ?' for help).\r\n",
1426 fprintf(stderr, "'%s': ambiguous argument ('slc ?' for help).\r\n",
1442 char *help;
1461 { "help", 0, env_help, 0 },
1462 { "?", "Print help information", env_help, 0 },
1472 if (c->help) {
1473 if (*c->help)
1474 printf("%-15s %s\r\n", c->name, c->help);
1495 "Need an argument to 'environ' command. 'environ ?' for help.\r\n");
1500 fprintf(stderr, "'%s': unknown argument ('environ ?' for help).\r\n",
1505 fprintf(stderr, "'%s': ambiguous argument ('environ ?' for help).\r\n",
1511 "Need %s%d argument%s to 'environ %s' command. 'environ ?' for help.\r\n",
1752 char *help;
1767 { "help", 0, auth_help, 0 },
1768 { "?", "Print help information", auth_help, 0 },
1778 if (c->help) {
1779 if (*c->help)
1780 printf("%-15s %s\r\n", c->name, c->help);
1795 "Need an argument to 'auth' command. 'auth ?' for help.\r\n");
1802 fprintf(stderr, "'%s': unknown argument ('auth ?' for help).\r\n",
1807 fprintf(stderr, "'%s': ambiguous argument ('auth ?' for help).\r\n",
1813 "Need %s%d argument%s to 'auth %s' command. 'auth ?' for help.\r\n",
1830 char *help;
1862 { "help", 0, EncryptHelp, 0, 0, 0 },
1863 { "?", "Print help information", EncryptHelp, 0, 0, 0 },
1873 if (c->help) {
1874 if (*c->help)
1875 printf("%-15s %s\r\n", c->name, c->help);
1891 fprintf(stderr, "'%s': unknown argument ('encrypt ?' for help).\r\n",
1896 fprintf(stderr, "'%s': ambiguous argument ('encrypt ?' for help).\r\n",
1910 fprintf(stderr, "to 'encrypt %s' command. 'encrypt ?' for help.\r\n",
1915 if (!(argc && (isprefix(argv[2], "help") || isprefix(argv[2], "?")))) {
2085 if (strcmp(*argv, "help") == 0 || isprefix(*argv, "?"))
2282 helphelp[] = "print help information",
2300 static int help(int argc, char **argv);
2324 { "?", helphelp, help, 0 },
2332 { "help", 0, help, 0 },
2442 help(int argc, char **argv)
2449 if (c->help) {
2451 c->help);
2460 printf("?Ambiguous help command %s\r\n", arg);
2462 printf("?Invalid help command %s\r\n", arg);
2464 printf("%s\r\n", c->help);