Support

Admin Tools

#42592 question about CLI waf syntax

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
6
PHP version
8.23
Admin Tools version
Latest

Latest post by toonetcreation on Thursday, 08 January 2026 03:54 CST

toonetcreation

Hi,

I have just a small question regarding waf cli syntax

The 2 commands below are correct nor not ?

php joomla.php admintools:waf:set --key=allowed_domains --empty

php joomla.php admintools:waf:set --key allowed_domains --empty

Thanks

L

nicholas
Akeeba Staff
Manager

Both forms work, but there's a catch.

The first one (with the equals sign) is the correct UNIX-style convention and the one I would put my money on continuing to be supported for years to come. That's what you should be using, as it's an unambiguous, de facto standard.

The second syntax is "wrong" as far as the UNIX-style convention goes. The Joomla CLI application uses the Symfony Console package which currently parses that "wrong" syntax correctly. Will this be the case in the future? I don't know. If they dropped support for this syntax in the future I would not be upset, I would find it pretty logical to be honest.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

toonetcreation

ok thanks, I will keep the first one.

thank you

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!