Fix issue #850, Warn user of filter when pruning Upstream-commit: 680c5790d5 Component: cli
680c5790d5