From f9122f9108ef290b6c317e9774b4698c68f20820 Mon Sep 17 00:00:00 2001 From: Juha Vehnia Date: Fri, 10 Jan 2020 23:19:25 -0600 Subject: [PATCH] Update help file for commands Added help file how to run options with values. This should be rather fixed. Right now if you run "Undefined offset: 1" if you don't include equals with your empty option. --- docs/hyn/5.4/commands.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/hyn/5.4/commands.md b/docs/hyn/5.4/commands.md index cccf57d0..fb23bd35 100644 --- a/docs/hyn/5.4/commands.md +++ b/docs/hyn/5.4/commands.md @@ -22,9 +22,14 @@ How it works: - The `--tenant` option accepts either a single website id or a comma separated list of website ids. - If your target command requires options or arguments, you can add them like this: +To use arguments and options with values ```bash $ php artisan tenancy:run --option="key=value" --option="live=1" --argument="key=value" ``` +To use options without values i.e. --force you need to include = with empty value +```bash +$ php artisan tenancy:run --option="force=" +``` > Make sure you include the argument or option key! Example: