Просмотр исходного кода

Grammar fix in CLI (#2390)

* fixed grammar
* Update cli_commands.c: made it a little nicer

Co-authored-by: あく <alleteam@gmail.com>
Logandev_ 2 лет назад
Родитель
Сommit
e999c35749
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      applications/services/cli/cli_commands.c

+ 3 - 3
applications/services/cli/cli_commands.c

@@ -31,7 +31,7 @@ void cli_command_device_info(Cli* cli, FuriString* args, void* context) {
 void cli_command_help(Cli* cli, FuriString* args, void* context) {
 void cli_command_help(Cli* cli, FuriString* args, void* context) {
     UNUSED(args);
     UNUSED(args);
     UNUSED(context);
     UNUSED(context);
-    printf("Commands we have:");
+    printf("Commands available:");
 
 
     // Command count
     // Command count
     const size_t commands_count = CliCommandTree_size(cli->commands);
     const size_t commands_count = CliCommandTree_size(cli->commands);
@@ -61,9 +61,9 @@ void cli_command_help(Cli* cli, FuriString* args, void* context) {
 
 
     if(furi_string_size(args) > 0) {
     if(furi_string_size(args) > 0) {
         cli_nl();
         cli_nl();
-        printf("Also I have no clue what '");
+        printf("`");
         printf("%s", furi_string_get_cstr(args));
         printf("%s", furi_string_get_cstr(args));
-        printf("' is.");
+        printf("` command not found");
     }
     }
 }
 }