Commit 365b29ae authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Andrei Vagin

compel --help: complete

Now, when many useless options were dropped, it's easy to
provide a complete description of CLI in usage().
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent ab7bf820
......@@ -136,9 +136,14 @@ static int usage(int rc) {
printf(
" }\n"
" compel -f FILE -o FILE [...] hgen\n"
" compel -f FILE -o FILE -p NAME [-l N] hgen\n"
" -f, --file FILE input (parasite object) file name\n"
" -o, --output FILE output (header) file name\n"
" -p, --prefix NAME prefix for var names\n"
" -l, --log-level NUM log level (default: %d)\n"
" compel -h|--help\n"
" compel -V|--version\n"
, DEFAULT_LOGLEVEL
);
return rc;
......
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