mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-28 12:36:47 +00:00
crtools: Put short options near long options
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
571967ca02
commit
dcba149125
1 changed files with 1 additions and 2 deletions
|
|
@ -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' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue