The morphix-rebrand script needs a minimum of 3 arguments to be passed on the command line. When optional arguments such as -T are used on the command line, the check for missing arguments fails.
The morphix-rebrand script should check that 3 arguments were passed. Each time an optional argument such as -T is seen on the command line, the required argument count should go up by 2.
Suggested patch which fixes the reported problem.
The attached patch fixes the problem reported by adjusting the number of expected arguments based when any optional arguments are given on the command line.
File Added: morphix-rebrand.patch