summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-config.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-05-10 21:00:48 -0400
committerColin Walters <walters@verbum.org>2012-05-12 10:50:53 -0400
commit225cebd5ef90fdb093de770b495e1f99a20a8f1f (patch)
tree48b9203349f88b1d02ef1e7037479a788843549f /src/ostree/ot-builtin-config.c
parent4fa14eb712e93fda3f74c6a8a1de1bf23902668c (diff)
downloadostree-225cebd5ef90fdb093de770b495e1f99a20a8f1f.tar.gz
core: fix a typo
ostree config had two 'set' subcommands, but no 'get'.
Diffstat (limited to 'src/ostree/ot-builtin-config.c')
-rw-r--r--src/ostree/ot-builtin-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-builtin-config.c b/src/ostree/ot-builtin-config.c
index c8964098..cac751da 100644
--- a/src/ostree/ot-builtin-config.c
+++ b/src/ostree/ot-builtin-config.c
@@ -104,7 +104,7 @@ ostree_builtin_config (int argc, char **argv, GFile *repo_path, GError **error)
if (!ostree_repo_write_config (repo, config, error))
goto out;
}
- else if (!strcmp (op, "set"))
+ else if (!strcmp (op, "get"))
{
GKeyFile *readonly_config = NULL;
ot_lfree char *value = NULL;