fix argv usage when --complete