Lines Matching refs:help

107 static int help(int, char **);
122 const char *help; /* help string (NULL for no help) */
287 const char *help; /* Help information (0 ==> no help) */
326 { "help", NULL, 0, 0, (int (*)(char *, ...))send_help, 0, 0 },
348 printf("'send ?' for help\n");
361 printf("Unknown send argument '%s'\n'send ?' for help.\n",
365 printf("Ambiguous send argument '%s'\n'send ?' for help.\n",
371 "Need %d argument%s to 'send %s' command. 'send %s ?' for help.\n",
386 printf("'send ?' for help\n");
394 printf("buffer, if this might help.)\n");
457 if (isprefix(name, "help") || isprefix(name, "?")) {
479 fprintf(stderr,"'%s': ambiguous argument ('send %s ?' for help).\n",
494 fprintf(stderr, "'%s': unknown argument ('send %s ?' for help).\n",
498 fprintf(stderr, "'%s': bad value ('send %s ?' for help).\n",
516 if (s->help)
517 printf("%-15s %s\n", s->name, s->help);
659 const char *help; /* help message */
777 { "help",
791 if (c->help) {
792 if (*c->help)
793 printf("%-15s toggle %s\n", c->name, c->help);
799 printf("%-15s %s\n", "?", "display help information");
809 if (c->help) {
810 if (*c->help)
812 c->help);
831 "Need an argument to 'toggle' command. 'toggle ?' for help.\n");
840 fprintf(stderr, "'%s': ambiguous argument ('toggle ?' for help).\n",
844 fprintf(stderr, "'%s': unknown argument ('toggle ?' for help).\n",
874 const char *help; /* help information */
936 printf("Format is 'set Name Value'\n'set ?' for help.\n");
939 if ((argc == 2) && (isprefix(argv[1], "?") || isprefix(argv[1], "help"))) {
941 printf("%-15s %s\n", ct->name, ct->help);
944 printf("%-15s %s\n", "?", "display help information");
952 fprintf(stderr, "'%s': unknown argument ('set ?' for help).\n",
956 fprintf(stderr, "'%s': ambiguous argument ('set ?' for help).\n",
966 printf("Format is 'set togglename [on|off]'\n'set ?' for help.\n");
977 printf("Format is 'set Name Value'\n'set ?' for help.\n");
980 fprintf(stderr, "'%s': ambiguous argument ('set ?' for help).\n",
1008 "Need an argument to 'unset' command. 'unset ?' for help.\n");
1011 if (isprefix(argv[1], "?") || isprefix(argv[1], "help")) {
1013 printf("%-15s %s\n", ct->name, ct->help);
1016 printf("%-15s %s\n", "?", "display help information");
1028 fprintf(stderr, "'%s': unknown argument ('unset ?' for help).\n",
1032 fprintf(stderr, "'%s': ambiguous argument ('unset ?' for help).\n",
1046 fprintf(stderr, "'%s': ambiguous argument ('unset ?' for help).\n",
1112 printf("'mode ?' for help.\n");
1138 const char *help; /* help string */
1167 { "help", 0, (int (*)(int))modehelp, 0, 0 },
1172 { "?", "Print help information", (int (*)(int))modehelp, 0, 0 },
1184 if (mt->help) {
1185 if (*mt->help)
1186 printf("%-15s %s\n", mt->name, mt->help);
1204 printf("'mode ?' for help.\n");
1206 fprintf(stderr, "Unknown mode '%s' ('mode ?' for help).\n", argv[1]);
1208 fprintf(stderr, "Ambiguous mode '%s' ('mode ?' for help).\n", argv[1]);
1211 printf("'mode ?' for help.\n");
1450 const char *help;
1464 { "help", NULL, (void (*)(int))slc_help, 0 },
1465 { "?", "Print help information", (void (*)(int))slc_help, 0 },
1475 if (c->help) {
1476 if (*c->help)
1477 printf("%-15s %s\n", c->name, c->help);
1498 "Need an argument to 'slc' command. 'slc ?' for help.\n");
1503 fprintf(stderr, "'%s': unknown argument ('slc ?' for help).\n",
1508 fprintf(stderr, "'%s': ambiguous argument ('slc ?' for help).\n",
1524 const char *help;
1559 { "help", NULL, (void (*)(unsigned char *, unsigned char *))env_help, 0 },
1560 { "?", "Print help information", (void (*)(unsigned char *, unsigned char *))env_help, 0 },
1570 if (c->help) {
1571 if (*c->help)
1572 printf("%-15s %s\n", c->name, c->help);
1593 "Need an argument to 'environ' command. 'environ ?' for help.\n");
1598 fprintf(stderr, "'%s': unknown argument ('environ ?' for help).\n",
1603 fprintf(stderr, "'%s': ambiguous argument ('environ ?' for help).\n",
1609 "Need %s%d argument%s to 'environ %s' command. 'environ ?' for help.\n",
1857 const char *help;
1876 { "help", NULL, (int (*)(char *))auth_help, 0 },
1877 { "?", "Print help information", (int (*)(char *))auth_help, 0 },
1887 if (c->help) {
1888 if (*c->help)
1889 printf("%-15s %s\n", c->name, c->help);
1904 "Need an argument to 'auth' command. 'auth ?' for help.\n");
1911 fprintf(stderr, "'%s': unknown argument ('auth ?' for help).\n",
1916 fprintf(stderr, "'%s': ambiguous argument ('auth ?' for help).\n",
1922 "Need %s%d argument%s to 'auth %s' command. 'auth ?' for help.\n",
1938 const char *help;
1981 { "help", NULL, (int (*)(char *, char *))EncryptHelp, 0, 0, 0 },
1982 { "?", "Print help information", (int (*)(char *, char *))EncryptHelp, 0, 0, 0 },
1992 if (c->help) {
1993 if (*c->help)
1994 printf("%-15s %s\n", c->name, c->help);
2009 "Need an argument to 'encrypt' command. 'encrypt ?' for help.\n");
2016 fprintf(stderr, "'%s': unknown argument ('encrypt ?' for help).\n",
2021 fprintf(stderr, "'%s': ambiguous argument ('encrypt ?' for help).\n",
2035 fprintf(stderr, "to 'encrypt %s' command. 'encrypt ?' for help.\n",
2040 if (!(argc && (isprefix(argv[2], "help") || isprefix(argv[2], "?")))) {
2212 if (strcmp(*argv, "help") == 0 || isprefix(*argv, "?"))
2529 helphelp[] = "print help information",
2573 { "?", helphelp, help, 0 },
2584 { "help", 0, help, 0 },
2694 help(int argc, char *argv[])
2701 if (c->help) {
2703 c->help);
2712 printf("?Ambiguous help command %s\n", arg);
2714 printf("?Invalid help command %s\n", arg);
2716 printf("%s\n", c->help);