Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/jshn.c
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2019-11-24 01:40:48 +0300
committerPetr Štetiar <ynezz@true.cz>2019-11-24 15:26:58 +0300
commit26586dae43a83d286762c73b49b98aa8dfc852c3 (patch)
treea11e2a8e89f4a195fa2d25f633c44cf3a214d9a6 /jshn.c
parent8e832a771d3ab6a852cd976a0264271be231c1b4 (diff)
jshn: fix missing usage for -p and -o arguments
Add missing usage hints for -p and -o arguments. Fixes: e16fa068a573 ("jshn: add support for namespaces") Fixes: eb30a03048f8 ("libubox, jshn: add option to write output to a file") Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'jshn.c')
-rw-r--r--jshn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jshn.c b/jshn.c
index 28cfa8d..0940b5e 100644
--- a/jshn.c
+++ b/jshn.c
@@ -311,7 +311,7 @@ out:
static int usage(const char *progname)
{
- fprintf(stderr, "Usage: %s [-n] [-i] -r <message>|-R <file>|-w\n", progname);
+ fprintf(stderr, "Usage: %s [-n] [-i] -r <message>|-R <file>|-o <file>|-p <prefix>|-w\n", progname);
return 2;
}