Bug in handling of --up and --down in CLI