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