summaryrefslogtreecommitdiff
path: root/src/ostree/ot-admin-builtin-switch.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2016-03-23 09:42:17 -0400
committerColin Walters <walters@verbum.org>2016-03-23 09:42:17 -0400
commitafb6105a51478b7f2ff7427f14fdfc17119df0ed (patch)
tree5d820d5b2ded6ee2ca0a9d3839f376a50ce415d8 /src/ostree/ot-admin-builtin-switch.c
parent3f6f2e2a2fcda446dd54e8777fa96ddfbb682682 (diff)
downloadostree-afb6105a51478b7f2ff7427f14fdfc17119df0ed.tar.gz
admin-switch: Add missing reboot argument
Spotted by jlebon in https://github.com/GNOME/ostree/pull/211
Diffstat (limited to 'src/ostree/ot-admin-builtin-switch.c')
-rw-r--r--src/ostree/ot-admin-builtin-switch.c1
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 5339de9d..4d82ca6b 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 }
};