Fixed the command list when combining --pinned and --versions