28 |
static struct argp_option options[] = { |
static struct argp_option options[] = { |
29 |
{"folder", ARG_FOLDER, N_("FOLDER"), 0, |
{"folder", ARG_FOLDER, N_("FOLDER"), 0, |
30 |
N_("Specify folder to operate upon")}, |
N_("Specify folder to operate upon")}, |
31 |
|
{"license", ARG_LICENSE, 0, 0, |
32 |
|
N_("Display software license"), -1}, |
33 |
{ 0 } |
{ 0 } |
34 |
}; |
}; |
35 |
|
|
47 |
current_folder = arg; |
current_folder = arg; |
48 |
break; |
break; |
49 |
|
|
50 |
|
case ARG_LICENSE: |
51 |
|
mh_license (argp_program_version); |
52 |
|
break; |
53 |
|
|
54 |
default: |
default: |
55 |
return 1; |
return 1; |
56 |
} |
} |