[ostree] core: fix a typo



commit 225cebd5ef90fdb093de770b495e1f99a20a8f1f
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu May 10 21:00:48 2012 -0400

    core: fix a typo
    
    ostree config had two 'set' subcommands, but no 'get'.

 src/ostree/ot-builtin-config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostree/ot-builtin-config.c b/src/ostree/ot-builtin-config.c
index c896409..cac751d 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]