From c05c3dcaa3a7c493fe0a656a0d0e7395660af1fc Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Tue, 23 May 2017 16:09:30 +0200 Subject: [PATCH] tools: consistently call led mode "breathing" Rename "breath" in the help text and reporting for the led mode to "breathing". The actual command to set the mode was already called that way. Signed-off-by: Christian Kellner --- tools/ratbag-command.c | 2 +- tools/shared.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ratbag-command.c b/tools/ratbag-command.c index 7fc1f7f6..bbe71be5 100644 --- a/tools/ratbag-command.c +++ b/tools/ratbag-command.c @@ -157,7 +157,7 @@ usage(void) " led N {COMMAND}\n" " get print the LED properties\n" " set {COMMAND} sets LED properties\n" - " mode [on|off|cycle|breath] sets LED mode\n" + " mode [on|off|cycle|breathing] sets LED mode\n" " color COLOR sets LED's color in hex format\n" " rate N sets LED's effect rate in Hz\n" " brightness N sets LED's effect brightness\n" diff --git a/tools/shared.c b/tools/shared.c index 7ce7cbfb..dff912a9 100644 --- a/tools/shared.c +++ b/tools/shared.c @@ -83,7 +83,7 @@ led_mode_to_str(enum ratbag_led_mode mode) str = "cycle"; break; case RATBAG_LED_BREATHING: - str = "breath"; + str = "breathing"; break; }