Add command-line arguments: root, hosts and name with regexp