| commit | 071aa615fd4dc124300d292bec9da114eb3e0d22 | [log] [download] |
|---|---|---|
| author | Kir Kolyshkin <kir@openvz.org> | Tue May 27 13:11:54 2014 -0700 |
| committer | Kir Kolyshkin <kir@openvz.org> | Tue May 27 13:13:20 2014 -0700 |
| tree | f64b7a65f4ef1e95fe9b5c428a78e4d87805ba38 | |
| parent | c71cc9965a28cba2910ca7b711cd7745244c90cd [diff] |
parse_{chkpnt,restore}_opt: don't print error twice
We don't have to print an error about invalid option,
as this is already done by getopt_long().
Before this patch it worked like this:
# vzctl restore 9990 -x
vzctl: invalid option -- 'x'
Invalid option -?
Signed-off-by: Kir Kolyshkin <kir@openvz.org>