From c5846e001a676ee14e0e6070a8d14037f7c01a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Fri, 8 Mar 2024 11:55:48 +0100 Subject: [PATCH] Document CLI color options --- crates/hyperqueue/src/common/cli.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/hyperqueue/src/common/cli.rs b/crates/hyperqueue/src/common/cli.rs index b14d0e592..99e8c0c53 100644 --- a/crates/hyperqueue/src/common/cli.rs +++ b/crates/hyperqueue/src/common/cli.rs @@ -105,8 +105,11 @@ impl OptsWithMatches { #[derive(clap::ValueEnum, Clone)] pub enum ColorPolicy { + /// Use colors if the stdout is detected to be a terminal. Auto, + /// Always use colors. Always, + /// Never use colors. Never, }