add --netbook to options
This commit is contained in:
parent
d7a5472d22
commit
aa0706d819
3 changed files with 7 additions and 0 deletions
2
dist/x48ng.man.1
vendored
2
dist/x48ng.man.1
vendored
|
@ -76,6 +76,8 @@ where options include:
|
|||
\-\-no\-chrome [SDL only] only display the LCD (default: false)
|
||||
.br
|
||||
\-\-fullscreen [SDL only] make the UI fullscreen (default: false)
|
||||
.br
|
||||
\-\-netbook [X11 only] make the UI horizontal (default: false)
|
||||
.br
|
||||
\-t \-\-use\-terminal activate pseudo terminal interface (default: true)
|
||||
.br
|
||||
|
|
|
@ -11,6 +11,7 @@ char* progname = "x48ng";
|
|||
int verbose = 0;
|
||||
int show_ui_chrome = 1;
|
||||
int show_ui_fullscreen = 0;
|
||||
int netbook = 0;
|
||||
int useTerminal = 1;
|
||||
int useSerial = 0;
|
||||
int useDebugger = 1;
|
||||
|
@ -51,6 +52,7 @@ int parse_args( int argc, char* argv[] ) {
|
|||
{ "verbose", no_argument, &verbose, 1 },
|
||||
{ "no-chrome", no_argument, &show_ui_chrome, 0 },
|
||||
{ "fullscreen", no_argument, &show_ui_fullscreen, 1 },
|
||||
{ "netbook", no_argument, &netbook, 1 },
|
||||
{ "use-terminal", no_argument, &useTerminal, 1 },
|
||||
{ "use-serial", no_argument, &useSerial, 1 },
|
||||
|
||||
|
@ -86,6 +88,8 @@ int parse_args( int argc, char* argv[] ) {
|
|||
"false)\n"
|
||||
"\t --fullscreen\t\t\t[SDL only] make the UI fullscreen (default: "
|
||||
"false)\n"
|
||||
"\t --netbook\t\t\t[X11 only] make the UI horizontal (default: "
|
||||
"false)\n"
|
||||
"\t-u --front-end\t\t\tspecify a front-end (available: x11, sdl; "
|
||||
"default: x11)\n"
|
||||
"\t-t --use-terminal\t\tactivate pseudo terminal interface (default: "
|
||||
|
|
|
@ -9,6 +9,7 @@ extern char* progname;
|
|||
extern int verbose;
|
||||
extern int show_ui_chrome;
|
||||
extern int show_ui_fullscreen;
|
||||
extern int netbook;
|
||||
extern int useTerminal;
|
||||
extern int useSerial;
|
||||
extern int useDebugger;
|
||||
|
|
Loading…
Reference in a new issue