Lines Matching refs:argv
34 const char *exec; /* argv[0] */
37 const char **argv;
67 int *argc, const char **argv)
80 pc = poptGetContext(argv[0], orig_argc, argv, options, 0);
87 *argc = poptStrippedArgv(pc, orig_argc, discard_const_p(char *, argv));
181 int *argc, const char **argv,
192 sss_tool_common_opts(tool_ctx, argc, argv);
307 errno_t sss_tool_route(int argc, const char **argv,
323 sss_tool_usage(argv[0], commands);
327 cmd = argv[1];
334 cmdline.exec = argv[0];
335 cmdline.command = argv[1];
337 cmdline.argv = argv + 2;
359 sss_tool_usage(argv[0], commands);
415 * command argv which does not contain executable (argv[0]), therefore
416 * we need to use KEEP_FIRST that ensures argv[0] is also processed. */
417 pc = poptGetContext(cmdline->exec, cmdline->argc, cmdline->argv,
501 int sss_tool_main(int argc, const char **argv,
512 ERROR("%1$s must be run as root\n", argv[0]);
516 ret = sss_tool_init(NULL, &argc, argv, &tool_ctx);
524 ret = sss_tool_route(argc, argv, tool_ctx, commands, pvt);