Skip to content

Use --option=value version for occ maintenance:install - #9571

Merged
MichaIng merged 1 commit into
masterfrom
fix/--option=value
Apr 3, 2023
Merged

Use --option=value version for occ maintenance:install#9571
MichaIng merged 1 commit into
masterfrom
fix/--option=value

Conversation

@MichaIng

Copy link
Copy Markdown
Member

The --option=value version of passing options to the occ maintenance:install command is now used in the documentation, instead of the --option value variant. This solves issues with leading dashes in values, especially passwords. It also matches the occ help maintenance:install output.

Solves:

Furthermore values are now single quoted, which is important to avoid variable expansion and special treatment of the backlash character in random passwords, and a doubled space was removed.

The `--option=value` version of passing options to the `occ maintenance:install` command is now used in the documentation, instead of the `--option value` variant. This  solves issues with leading dashes in values, especially passwords. It also matches the `occ help maintenance:install` output.

Solves:
- nextcloud/server#26109
- #8190

Furthermore values are now single quoted, which is important to avoid variable expansion and special treatment of the backlash character in random passwords, and a doubled space was removed.

Signed-off-by: MichaIng <micha@dietpi.com>
@MichaIng
MichaIng force-pushed the fix/--option=value branch from 5abdcb9 to 36e71e4 Compare March 7, 2023 22:37
@MichaIng
MichaIng merged commit b0f1f4f into master Apr 3, 2023
@MichaIng
MichaIng deleted the fix/--option=value branch April 3, 2023 11:41
@ChristophWurst

Copy link
Copy Markdown
Member

/backport to stable26

@ChristophWurst

Copy link
Copy Markdown
Member

/backport to stable25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

occ command interprets leading dash values as keys use --option=value version of options in occ maintenance:install

2 participants