craftcms / docs

Documentation for Craft CMS, Craft Commerce, and other official products.
https://craftcms.com/docs
39 stars 150 forks source link

Console commands contain --isolated without explanation #488

Closed MoritzLost closed 1 year ago

MoritzLost commented 1 year ago

Description

Right now, all console commands have this string at the end:

--isolated :

This doesn't look intentional? It's not formatted as code, there's the space before the colon and the explanation is lacking. Shouldn't this be documented as a global option since all commands have it? Maybe some find/replace gone wrong?

Screenshot 2023-03-29 at 16 59 34 Screenshot 2023-03-29 at 16 59 38


Maybe this should be a separate issue, but I also noticed that the global parameters like --interactive and --isolated aren't really documented anywhere, maybe they should be mentioned above the list of commands?

AugustMiller commented 1 year ago

Thanks for the report! I think I've gotten this bug ironed out.

I also took the opportunity to add a new Global Options section before the comprehensive list of commands.

MoritzLost commented 1 year ago

@AugustMiller Thanks, the global options documentation is great!