[ostree] ostree: Remove duplicate command in help output



commit f5113085e142eba177d499063df15c3c02cc96c7
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Aug 23 20:03:40 2012 -0400

    ostree: Remove duplicate command in help output
    
    The 'remote' command was listed twice. Also, the list
    was almost-but-not-quite alphabetically sorted. Fix
    that too.

 src/ostree/main.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/ostree/main.c b/src/ostree/main.c
index 5736f3c..72231ab 100644
--- a/src/ostree/main.c
+++ b/src/ostree/main.c
@@ -32,22 +32,21 @@
 
 static OstreeCommand commands[] = {
   { "cat", ostree_builtin_cat, 0 },
+  { "commit", ostree_builtin_commit, 0 },
   { "config", ostree_builtin_config, 0 },
   { "checkout", ostree_builtin_checkout, 0 },
   { "checksum", ostree_builtin_checksum, OSTREE_BUILTIN_FLAG_NO_REPO },
   { "diff", ostree_builtin_diff, 0 },
+  { "fsck", ostree_builtin_fsck, 0 },
   { "init", ostree_builtin_init, 0 },
-  { "commit", ostree_builtin_commit, 0 },
-  { "pull-local", ostree_builtin_pull_local, 0 },
   { "log", ostree_builtin_log, 0 },
   { "ls", ostree_builtin_ls, 0 },
-  { "prune", ostree_builtin_prune, 0 },
-  { "fsck", ostree_builtin_fsck, 0 },
   { "pack", ostree_builtin_pack, 0 },
+  { "prune", ostree_builtin_prune, 0 },
   { "pull", NULL, 0 },
+  { "pull-local", ostree_builtin_pull_local, 0 },
   { "remote", ostree_builtin_remote, 0 },
   { "rev-parse", ostree_builtin_rev_parse, 0 },
-  { "remote", ostree_builtin_remote, 0 },
   { "show", ostree_builtin_show, 0 },
   { "unpack", ostree_builtin_unpack, 0 },
   { "write-refs", ostree_builtin_write_refs, 0 },



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