[ostree] admin-switch: Add missing reboot argument



commit afb6105a51478b7f2ff7427f14fdfc17119df0ed
Author: Colin Walters <walters verbum org>
Date:   Wed Mar 23 09:42:17 2016 -0400

    admin-switch: Add missing reboot argument
    
    Spotted by jlebon in https://github.com/GNOME/ostree/pull/211

 src/ostree/ot-admin-builtin-switch.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ostree/ot-admin-builtin-switch.c b/src/ostree/ot-admin-builtin-switch.c
index 5339de9..4d82ca6 100644
--- a/src/ostree/ot-admin-builtin-switch.c
+++ b/src/ostree/ot-admin-builtin-switch.c
@@ -34,6 +34,7 @@ static gboolean opt_reboot;
 static char *opt_osname;
 
 static GOptionEntry options[] = {
+  { "reboot", 'r', 0, G_OPTION_ARG_NONE, &opt_reboot, "Reboot after switching trees", NULL },
   { "os", 0, 0, G_OPTION_ARG_STRING, &opt_osname, "Use a different operating system root than the current 
one", "OSNAME" },
   { NULL }
 };


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