diff options
Diffstat (limited to 'src/analyze')
-rw-r--r-- | src/analyze/analyze.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 446b4432ee..02c9c13204 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -1340,15 +1340,16 @@ static int dump(int argc, char *argv[], void *userdata) { } static int cat_config(int argc, char *argv[], void *userdata) { - char **arg; + char **arg, **list; int r; (void) pager_open(arg_pager_flags); - STRV_FOREACH(arg, argv + 1) { + list = strv_skip(argv, 1); + STRV_FOREACH(arg, list) { const char *t = NULL; - if (arg != argv + 1) + if (arg != list) print_separator(); if (path_is_absolute(*arg)) { |