Lines Matching refs:optidx
1241 int i, cmdnum, optidx, argc; in parse_args() local
1282 optidx = 1; in parse_args()
1288 if ((optidx = parse_getput_flags(cmd, argv, argc, in parse_args()
1292 if (argc - optidx < 1) { in parse_args()
1297 *path1 = xstrdup(argv[optidx]); in parse_args()
1299 if (argc - optidx > 1) { in parse_args()
1300 *path2 = xstrdup(argv[optidx + 1]); in parse_args()
1306 if ((optidx = parse_link_flags(cmd, argv, argc, sflag)) == -1) in parse_args()
1310 if ((optidx = parse_rename_flags(cmd, argv, argc, lflag)) == -1) in parse_args()
1314 if ((optidx = parse_no_flags(cmd, argv, argc)) == -1) in parse_args()
1317 if (argc - optidx < 2) { in parse_args()
1322 *path1 = xstrdup(argv[optidx]); in parse_args()
1323 *path2 = xstrdup(argv[optidx + 1]); in parse_args()
1334 if ((optidx = parse_no_flags(cmd, argv, argc)) == -1) in parse_args()
1337 if (argc - optidx < 1) { in parse_args()
1342 *path1 = xstrdup(argv[optidx]); in parse_args()
1348 if ((optidx = parse_df_flags(cmd, argv, argc, hflag, in parse_args()
1352 if (argc - optidx < 1) in parse_args()
1355 *path1 = xstrdup(argv[optidx]); in parse_args()
1360 if ((optidx = parse_ls_flags(argv, argc, lflag)) == -1) in parse_args()
1363 if (argc - optidx > 0) in parse_args()
1364 *path1 = xstrdup(argv[optidx]); in parse_args()
1377 if ((optidx = parse_no_flags(cmd, argv, argc)) == -1) in parse_args()
1380 if (argc - optidx < 1) in parse_args()
1383 l = strtol(argv[optidx], &cp2, base); in parse_args()
1384 if (cp2 == argv[optidx] || *cp2 != '\0' || in parse_args()
1396 if (argc - optidx < 2) { in parse_args()
1401 *path1 = xstrdup(argv[optidx + 1]); in parse_args()
1409 if ((optidx = parse_no_flags(cmd, argv, argc)) == -1) in parse_args()