From fade6c599140253cef47b6e4ac97bdd8667a9e43 Mon Sep 17 00:00:00 2001 From: skshetry <18718008+skshetry@users.noreply.github.com> Date: Tue, 29 Jul 2025 09:07:24 +0545 Subject: [PATCH] cli: status: return integer instead of bool on --quiet (#10820) --- dvc/commands/status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/commands/status.py b/dvc/commands/status.py index ae90bb955..46be9e253 100644 --- a/dvc/commands/status.py +++ b/dvc/commands/status.py @@ -71,7 +71,7 @@ class CmdDataStatus(CmdDataBase): return 0 if self.args.quiet: - return bool(st) + return int(bool(st)) if st: self._show(st, indent)