diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2012-11-25 20:57:11 +0100 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2012-11-25 20:57:11 +0100 |
commit | 857123e9e4de410955a90c1096dcdd1d3f41e30e (patch) | |
tree | 6d518e92674e385b75cbf9bdcc2de5a479064ac4 /src/main.c | |
parent | edb4793863b19528b3551f977c081472bea8968b (diff) | |
download | 0xFFFF-857123e9e4de410955a90c1096dcdd1d3f41e30e.tar.bz2 |
main: Remove console prompt and shared queue mode
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 31 |
1 files changed, 0 insertions, 31 deletions
@@ -34,8 +34,6 @@ #include "image.h" #include "fiasco.h" #include "device.h" -#include "console.h" -#include "qmode.h" #include "operations.h" static void show_title(void) { @@ -98,8 +96,6 @@ static void show_usage(void) { "Other options:\n" " -i identify images\n" - " -p console prompt mode\n" - " -Q enter shared queues server mode (for gui or remote)\n" " -s simulate, do not flash or write on disk\n" " -n disable hash, checksum and image type checking\n" " -v be verbose and noisy\n" @@ -386,8 +382,6 @@ int main(int argc, char **argv) { char * fiasco_gen_arg = NULL; int image_ident = 0; - int console = 0; - int queue = 0; int help = 0; @@ -585,12 +579,6 @@ int main(int argc, char **argv) { case 'i': image_ident = 1; break; - case 'p': - console = 1; - break; - case 'Q': - queue = 1; - break; case 's': simulate = 1; @@ -628,10 +616,6 @@ int main(int argc, char **argv) { do_something = 1; if ( fiasco_un || fiasco_gen || image_ident ) do_something = 1; - if ( console ) - do_something = 1; - if ( queue ) - do_something = 1; if ( help ) do_something = 1; @@ -650,21 +634,6 @@ int main(int argc, char **argv) { goto clean; } - /* console */ - if ( console ) { - console_prompt(); - ret = 0; - goto clean; - } - - /* share queues */ - if ( queue ) { - queue_mode(); - ret = 0; - goto clean; - } - - /* load images from files */ if ( image_first && image_fiasco ) { ERROR("Cannot specify normal and fiasco images together"); |