Commit dcba1491 authored by Pavel Emelyanov's avatar Pavel Emelyanov

crtools: Put short options near long options

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 571967ca
......@@ -68,8 +68,6 @@ int main(int argc, char *argv[])
int log_inited = 0;
int log_level = 0;
static const char short_opts[] = "dsRf:t:p:hcD:o:n:vxVr:jl";
BUILD_BUG_ON(PAGE_SIZE != PAGE_IMAGE_SIZE);
cr_pb_init();
......@@ -86,6 +84,7 @@ int main(int argc, char *argv[])
return -1;
while (1) {
static const char short_opts[] = "dsRf:t:p:hcD:o:n:vxVr:jl";
static struct option long_opts[] = {
{ "tree", required_argument, 0, 't' },
{ "pid", required_argument, 0, 'p' },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment