From 235bd4fba36b9fcdcc3aa6f77413ea2ad402a338 Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Wed, 1 Feb 2017 19:21:24 +0000 Subject: [PATCH] Apply clang-format to some stray in-tree items Signed-off-by: Ikey Doherty --- src/clr_bundle_add.c | 1 - src/clr_bundle_ls.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/clr_bundle_add.c b/src/clr_bundle_add.c index 064b8004..d2967188 100644 --- a/src/clr_bundle_add.c +++ b/src/clr_bundle_add.c @@ -151,7 +151,6 @@ static bool parse_options(int argc, char **argv) } } - if (argc <= optind) { printf("error: missing bundle(s) to be installed\n\n"); goto err; diff --git a/src/clr_bundle_ls.c b/src/clr_bundle_ls.c index c6fb0845..cd3b5d1e 100644 --- a/src/clr_bundle_ls.c +++ b/src/clr_bundle_ls.c @@ -47,8 +47,8 @@ static void print_help(const char *name) } static const struct option prog_opts[] = { - { "help", no_argument, 0, 'h'}, - { "all", no_argument, 0, 'a' }, + { "help", no_argument, 0, 'h' }, + { "all", no_argument, 0, 'a' }, { "url", required_argument, 0, 'u' }, { "contenturl", required_argument, 0, 'c' }, { "versionurl", required_argument, 0, 'v' },