From 89f27fc1133cfad38a1df7d719432df7d81cb77e Mon Sep 17 00:00:00 2001 From: John Freed Date: Tue, 31 Aug 2021 07:41:19 +0200 Subject: [PATCH] Updated FAQ (markdown) --- FAQ.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index bc8387c..440781a 100644 --- a/FAQ.md +++ b/FAQ.md @@ -28,10 +28,14 @@ System entropy is more likely to get depleted on headless servers. There are pro ### Error parsing arguments +The `signal-cli` program has a set of options, and each subcommand may have its own options. The correct order is: +`signal-cli` [SIGNAL-CLI_OPTIONS] [SUBCOMMAND] [SUBCOMMAND_OPTIONS] + +So, for example: $ signal-cli receive --output=json signal-cli: error: unrecognized arguments: '--output=json' -The `--output=...` option needs to be in front of the `receive` subcommand: +The `--output=...` option belongs to the main program, and needs to be in front of the `receive` subcommand: $ signal-cli --output=json receive