command#completion: fix example in deprecation warning