Lines Matching refs:usage
42 static const char *const usage[] = { in rv_list() local
57 for (i = 0; usage[i]; i++) in rv_list()
58 fprintf(stderr, "%s\n", usage[i]); in rv_list()
79 static const char *const usage[] = { in rv_mon() local
97 for (i = 0; usage[i]; i++) in rv_mon()
98 fprintf(stderr, "%s\n", usage[i]); in rv_mon()
104 for (i = 0; usage[i]; i++) in rv_mon()
105 fprintf(stderr, "%s\n", usage[i]); in rv_mon()
121 static void usage(int exit_val, const char *fmt, ...) in usage() function
127 static const char *const usage[] = { in usage() local
148 for (i = 0; usage[i]; i++) in usage()
149 fprintf(stderr, "%s\n", usage[i]); in usage()
165 usage(1, "%s needs root permission", argv[0]); in main()
168 usage(1, "%s requires a command", argv[0]); in main()
171 usage(0, "help"); in main()
187 usage(1, "%s does not know the %s command, old version?", argv[0], argv[1]); in main()