From dbf139003bd6c8c6ca03ae7f533aa74afd8060c6 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Thu, 7 Mar 2013 10:22:42 +0800 Subject: Move --dry-run option to discover server Now that the server does the booting, we should move the --dry-run argument to the server. Signed-off-by: Jeremy Kerr --- ui/ncurses/nc-cui.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ui/ncurses/nc-cui.h') diff --git a/ui/ncurses/nc-cui.h b/ui/ncurses/nc-cui.h index 33f2661..69c15d4 100644 --- a/ui/ncurses/nc-cui.h +++ b/ui/ncurses/nc-cui.h @@ -51,7 +51,6 @@ struct cui { enum pb_nc_sig c_sig; sig_atomic_t abort; sig_atomic_t resize; - int dry_run; struct nc_scr *current; struct pmenu *main; struct ui_timer timer; @@ -64,7 +63,7 @@ struct cui { }; struct cui *cui_init(void* platform_info, - int (*js_map)(const struct js_event *e), int start_deamon, int dry_run); + int (*js_map)(const struct js_event *e), int start_deamon); struct nc_scr *cui_set_current(struct cui *cui, struct nc_scr *scr); int cui_run(struct cui *cui, struct pmenu *main, unsigned int default_item); int cui_boot_editor_run(struct pmenu_item *item); -- cgit v1.2.1