X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=client%2Fadh-opts.c;fp=client%2Fadh-opts.c;h=7dbedcd04e16bc403d8ae694b009b99b499ff167;hb=fc440c64836370db9d8cb1a25f09c9df0786f865;hp=befa5a2eefdf83378e7ffde5b3da6b5fb03b43b3;hpb=7ed0a4603e12883790640a6c72ad42899a1a99d0;p=adns.git diff --git a/client/adh-opts.c b/client/adh-opts.c index befa5a2..7dbedcd 100644 --- a/client/adh-opts.c +++ b/client/adh-opts.c @@ -45,11 +45,11 @@ static const struct optioninfo global_options[]= { "a", "asynch", &ov_asynch, 1 }, { ot_desconly, "answer/error output format and destination (see below):" }, - { ot_value, "Answers to stdout, errors as messages to stderr (default)", + { ot_value, "Answers to stdout, errors as messages to stderr (default)", "Fs", "fmt-simple", &ov_format, fmt_simple }, - { ot_value, "Answers and errors both to stdout in parseable format", + { ot_value, "Answers and errors both to stdout in parseable format", "Fi", "fmt-inline", &ov_format, fmt_inline }, - { ot_value, "Fully-parseable output format (default for --asynch)", + { ot_value, "Fully-parseable output format (default for --asynch)", "Fa", "fmt-asynch", &ov_format, fmt_asynch }, { ot_desconly, "global verbosity level:" }, @@ -127,7 +127,7 @@ static const struct optioninfo perquery_options[]= { { ot_desconly, "asynchronous/pipe mode options:" }, { ot_funcarg, "Set , default is decimal sequence starting 0", 0, "asynch-id", 0,0, &of_asynch_id, "id" }, - { ot_funcarg, "Cancel the query with id (no error if not found)", + { ot_funcarg, "Cancel the query with id (no error if not found)", 0, "cancel-id", 0,0, &of_cancel_id, "id" }, { ot_end }