From 4afba798baa90185ad8bb7dc412aae1e629447d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Sat, 28 Jan 2023 13:45:40 +0800 Subject: [PATCH] Sound: add missing command helpers --- src/fastfetch.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/fastfetch.c b/src/fastfetch.c index c49a3d408..979f37b62 100644 --- a/src/fastfetch.c +++ b/src/fastfetch.c @@ -457,6 +457,16 @@ static inline void printCommandHelp(const char* command) "Battery percentage" ); } + else if(strcasecmp(command, "sound-format") == 0) + { + constructAndPrintCommandHelpFormat("sound", "{2} (3%)", 4, + "Main", + "Name", + "Volume", + "Manufacturer", + "Identifier" + ); + } else fprintf(stderr, "No specific help for command %s provided\n", command); }