This looks wrong to me. If a host is specified, it will now be --h instead of -h. Please test it with and without a host specification.