Difference between revisions of "Command line options"

From Mudlet
Jump to navigation Jump to search
(initial creation)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Available command line options as at 4.17.2
+
See also: [[HowTo:OpenInWindowsCmd | How to open mudlet in windows cmd]]
 +
 
 +
Available command line options as at 4.18.5
 
   > mudlet --help
 
   > mudlet --help
  
 
  <nowiki>
 
  <nowiki>
Usage: mudlet [OPTION...]
+
Options:
 
       -h, --help                  displays this message.
 
       -h, --help                  displays this message.
 
       -v, --version                displays version information.
 
       -v, --version                displays version information.
       -q, --quiet                  no splash screen on startup.
+
       -s, --splashscreen          show splashscreen on startup.
 
       -p, --profile=<profile>      additional profile to open, may be
 
       -p, --profile=<profile>      additional profile to open, may be
 
                                     repeated.
 
                                     repeated.
 
       -o, --only=<predefined>      make Mudlet only show the specific
 
       -o, --only=<predefined>      make Mudlet only show the specific
 
                                     predefined game, may be repeated.
 
                                     predefined game, may be repeated.
 +
      --steammode                  adjusts Mudlet settings to match
 +
                                    Steam's requirements.
 
There are other inherited options that arise from the Qt Libraries which are
 
There are other inherited options that arise from the Qt Libraries which are
 
less likely to be useful for normal use of this application:
 
less likely to be useful for normal use of this application:
Line 17: Line 21:
 
                                     the command line.
 
                                     the command line.
 
       --nograb                    the application should never grab the mouse or the
 
       --nograb                    the application should never grab the mouse or the
                                     keyboard.
+
                                     keyboard. This option is set by default when Mudlet is
 +
                                    running in the gdb debugger under Linux.
 
       --reverse                    sets the application's layout direction to right to left.
 
       --reverse                    sets the application's layout direction to right to left.
 
       --style=style                sets the application GUI style. Possible values depend on
 
       --style=style                sets the application GUI style. Possible values depend on
Line 32: Line 37:
 
                                     are relative to the Style Sheet file's path.
 
                                     are relative to the Style Sheet file's path.
 
       --stylesheet stylesheet      is the same as listed above.
 
       --stylesheet stylesheet      is the same as listed above.
 +
      --sync                      forces the X server to perform each X client request
 +
                                    immediately and not use buffer optimization. It makes the
 +
                                    program easier to debug and often much slower. The --sync
 +
                                    option is only valid for the X11 version of Qt.
 
       --widgetcount                prints debug message at the end about number of widgets
 
       --widgetcount                prints debug message at the end about number of widgets
 
                                     left undestroyed and maximum number of widgets existing
 
                                     left undestroyed and maximum number of widgets existing
Line 40: Line 49:
 
                                     debugger connects to it.
 
                                     debugger connects to it.
  
 +
Arguments:
 +
        [FILE]                      File to install as a package
 
Report bugs to: https://github.com/Mudlet/Mudlet/issues
 
Report bugs to: https://github.com/Mudlet/Mudlet/issues
 
Project home page: http://www.mudlet.org/
 
Project home page: http://www.mudlet.org/
 
</nowiki>
 
</nowiki>

Latest revision as of 10:54, 25 December 2024

See also: How to open mudlet in windows cmd

Available command line options as at 4.18.5

  > mudlet --help
Options:
       -h, --help                   displays this message.
       -v, --version                displays version information.
       -s, --splashscreen           show splashscreen on startup.
       -p, --profile=<profile>      additional profile to open, may be
                                    repeated.
       -o, --only=<predefined>      make Mudlet only show the specific
                                    predefined game, may be repeated.
       --steammode                  adjusts Mudlet settings to match
                                    Steam's requirements.
There are other inherited options that arise from the Qt Libraries which are
less likely to be useful for normal use of this application:
       --dograb                     ignore any implicit or explicit -nograb.
                                    --dograb wins over --nograb even when --nograb is last on
                                    the command line.
       --nograb                     the application should never grab the mouse or the
                                    keyboard. This option is set by default when Mudlet is
                                    running in the gdb debugger under Linux.
       --reverse                    sets the application's layout direction to right to left.
       --style=style                sets the application GUI style. Possible values depend on
                                    your system configuration. If Qt was compiled with
                                    additional styles or has additional styles as plugins
                                    these will be available to the -style command line
                                    option. You can also set the style for all Qt
                                    applications by setting the QT_STYLE_OVERRIDE environment
                                    variable.
       --style style                is the same as listed above.
       --stylesheet=stylesheet      sets the application styleSheet.
                                    The value must be a path to a file that contains the
                                    Style Sheet. Note: Relative URLs in the Style Sheet file
                                    are relative to the Style Sheet file's path.
       --stylesheet stylesheet      is the same as listed above.
       --sync                       forces the X server to perform each X client request
                                    immediately and not use buffer optimization. It makes the
                                    program easier to debug and often much slower. The --sync
                                    option is only valid for the X11 version of Qt.
       --widgetcount                prints debug message at the end about number of widgets
                                    left undestroyed and maximum number of widgets existing
                                    at the same time.
       --qmljsdebugger=1234[,block] activates the QML/JS debugger with a
                                    specified port. The number is the port value and block is
                                    optional and will make the application wait until a
                                    debugger connects to it.

Arguments:
        [FILE]                       File to install as a package
Report bugs to: https://github.com/Mudlet/Mudlet/issues
Project home page: http://www.mudlet.org/