* Fix -n help message as reported by rudi_s

* Oops fix build again
This commit is contained in:
pancake 2012-02-03 16:23:14 +01:00
parent 3eb9a85872
commit f03e8674db
3 changed files with 12 additions and 4 deletions

View File

@ -30,7 +30,7 @@ static int main_help(int line) {
" -i [file] run script file\n"
" -l [lib] load plugin file\n"
" -L list supported IO plugins\n"
" -n do not run ~/.radare2rc\n"
" -n disable analysis and user settings\n"
" -q quite mode (no prompt)\n"
" -p [prj] set project file\n"
" -P [file] apply rapatch file and quit\n"
@ -45,7 +45,7 @@ static int main_help(int line) {
if (line==2)
printf (
"Files:\n"
" RCFILE ~/.radare2rc\n"
" RCFILE ~/.radare2rc (user preferences, batch script)\n"
" MAGICPATH "R_MAGIC_PATH"\n"
"Environment:\n"
" R_DEBUG if defined, show error messages and crash signal\n"

View File

@ -321,6 +321,7 @@ extern struct r_io_plugin_t r_io_plugin_http;
extern struct r_io_plugin_t r_io_plugin_haret;
extern struct r_io_plugin_t r_io_plugin_bfdbg;
extern struct r_io_plugin_t r_io_plugin_w32;
extern struct r_io_plugin_t r_io_plugin_ewf;
#endif
#if 0

View File

@ -2,10 +2,11 @@
// XXX: not yet tested
#include <r_userconf.h>
#if HAVE_LIB_EWF
#include "r_io.h"
#include "r_lib.h"
#include <r_userconf.h>
#if HAVE_LIB_EWF
#include <sys/types.h>
#include <sys/ipc.h>
#include <libewf.h>
@ -175,4 +176,10 @@ struct r_lib_struct_t radare_plugin = {
.data = &r_io_plugin_ewf
};
#endif
#else
struct r_io_plugin_t r_io_plugin_ewf = {
.name = NULL,
.desc = NULL
};
#endif