[PATCH] abrt-cli status: fix the output

Jakub Filak jfilak at redhat.com
Wed Jun 26 08:10:04 UTC 2013


Pushed. Thanks!

On Mon, 2013-06-24 at 16:24 +0200, Denys Vlasenko wrote:
> Before:
> ABRT has detected '2' problem(s). (For more info run: $ abrt-cli list --since 1372083129 )
> After:
> ABRT has detected 2 problem(s). For more info run: abrt-cli list --since 1372083129
> 
> Signed-off-by: Denys Vlasenko <dvlasenk at redhat.com>
> ---
>  src/cli/status.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/cli/status.c b/src/cli/status.c
> index 08045b9..17a1865 100644
> --- a/src/cli/status.c
> +++ b/src/cli/status.c
> @@ -102,7 +102,7 @@ int cmd_status(int argc, const char **argv)
>          else
>          {
>              char *list_arg = opt_since ? xasprintf(" --since %d", opt_since) : xstrdup("");
> -            printf(_("ABRT has detected '%u' problem(s). (For more info run: $ abrt-cli list%s )\n"), problem_count, list_arg);
> +            printf(_("ABRT has detected %u problem(s). For more info run: abrt-cli list%s\n"), problem_count, list_arg);
>              free(list_arg);
>          }
>      }




More information about the Crash-catcher mailing list