summaryrefslogtreecommitdiff
path: root/src/ostree/ot-remote-builtin-list.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2023-05-01 14:24:29 -0400
committerColin Walters <walters@verbum.org>2023-05-02 08:42:19 -0400
commit453aed97f688c606622562145fa1f7c10096ba14 (patch)
tree8059e3887665735f14b31a44402d5d578fcdd876 /src/ostree/ot-remote-builtin-list.c
parenta917813bb82b6ec7083da24064439b656971748d (diff)
downloadostree-453aed97f688c606622562145fa1f7c10096ba14.tar.gz
tree-wide: Run clang-format
This is a one-time tree wide reformatting to ensure consistency going forward.
Diffstat (limited to 'src/ostree/ot-remote-builtin-list.c')
-rw-r--r--src/ostree/ot-remote-builtin-list.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ostree/ot-remote-builtin-list.c b/src/ostree/ot-remote-builtin-list.c
index b8e875d4..31c60ec0 100644
--- a/src/ostree/ot-remote-builtin-list.c
+++ b/src/ostree/ot-remote-builtin-list.c
@@ -29,23 +29,23 @@ static gboolean opt_show_urls;
* man page (man/ostree-remote.xml) when changing the option list.
*/
-static GOptionEntry option_entries[] = {
- { "show-urls", 'u', 0, G_OPTION_ARG_NONE, &opt_show_urls, "Show remote URLs in list", NULL },
- { NULL }
-};
+static GOptionEntry option_entries[] = { { "show-urls", 'u', 0, G_OPTION_ARG_NONE, &opt_show_urls,
+ "Show remote URLs in list", NULL },
+ { NULL } };
gboolean
-ot_remote_builtin_list (int argc, char **argv, OstreeCommandInvocation *invocation, GCancellable *cancellable, GError **error)
+ot_remote_builtin_list (int argc, char **argv, OstreeCommandInvocation *invocation,
+ GCancellable *cancellable, GError **error)
{
- g_autoptr(GOptionContext) context = g_option_context_new ("");
+ g_autoptr (GOptionContext) context = g_option_context_new ("");
- g_autoptr(OstreeRepo) repo = NULL;
- if (!ostree_option_context_parse (context, option_entries, &argc, &argv,
- invocation, &repo, cancellable, error))
+ g_autoptr (OstreeRepo) repo = NULL;
+ if (!ostree_option_context_parse (context, option_entries, &argc, &argv, invocation, &repo,
+ cancellable, error))
return FALSE;
guint n_remotes = 0;
- g_auto(GStrv) remotes = ostree_repo_remote_list (repo, &n_remotes);
+ g_auto (GStrv) remotes = ostree_repo_remote_list (repo, &n_remotes);
if (opt_show_urls)
{