Subversion Repositories HelenOS

Rev

Rev 3375 | Rev 3413 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3375 Rev 3376
Line 186... Line 186...
186
    unsigned int argc, create_parents = 0, i, ret = 0, follow = 0;
186
    unsigned int argc, create_parents = 0, i, ret = 0, follow = 0;
187
    unsigned int verbose = 0;
187
    unsigned int verbose = 0;
188
    int c, opt_ind;
188
    int c, opt_ind;
189
    char *cwd;
189
    char *cwd;
190
 
190
 
191
    for (argc = 0; argv[argc] != NULL; argc ++);
191
    argc = cli_count_args(argv);
192
 
192
 
193
    for (c = 0, optind = 0, opt_ind = 0; c != -1;) {
193
    for (c = 0, optind = 0, opt_ind = 0; c != -1;) {
194
        c = getopt_long(argc, argv, "pvhVfm:", long_options, &opt_ind);
194
        c = getopt_long(argc, argv, "pvhVfm:", long_options, &opt_ind);
195
        switch (c) {
195
        switch (c) {
196
        case 'p':
196
        case 'p':