If-then-else command for processing potentially empty arguments
