Remote API doesn't return get-command

If I do this from the command line:

virtualmin get-command --command 'modify-domain'

I get a list of all the possible parameters for the command modify-domain.

If now I do this:

wget -O - --quiet --http-user=xxx --http-passwd=xxx --no-check-certificate 'https://localhost:10000/virtual-server/remote.cgi?program=get-command&command=modify-domain'

I always get:

Description: Change parameters of a virtual server
command
    Binary: No
    Value: modify-domain
    Optional: No
    Repeats: No

While the description is accurate, the function returns always only command as unique possible parameter for whatever command passed as argument...

Actually I realized the result corresponds to the same parameters I give to this very same function I am using (get-command, so the parameter is just command).

Thanks for any help!

Status: 
Closed (fixed)

Comments

Thanks for reporting this - this bug will be fixed in the next Virtualmin release.

Thanks a lot! Do you know around when it will be?

Couple of weeks at most

Automatically closed -- issue fixed for 2 weeks with no activity.

Automatically closed -- issue fixed for 2 weeks with no activity.