• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

2.4 Command line options
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Overview
        • Command line options
          • Informational command line options
          • Command line options for running Prolog
          • Controlling the stack sizes
          • Running goals from the command line
          • Compilation options
          • Maintenance options
    • Packages

2.4.1 Informational command line options

--arch
When given as the only option, it prints the architecture identifier (see Prolog flag arch) and exits. See also --dump-runtime-variables.
--dump-runtime-variables [=format]
When given as the only option, it prints a sequence of variable settings that can be used in shell scripts to deal with Prolog parameters. This feature is also used by swipl-ld (see section 12.5). Below is a typical example of using this feature.
eval `swipl --dump-runtime-variables`
cc -I$PLBASE/include -L$PLBASE/lib/$PLARCH ...

The option can be followed by =sh to dump in POSIX shell format (default) or =cmd to dump in MS-Windows cmd.exe compatible format.

--help
When given as the only option, it summarises the most important options.
--version
When given as the only option, it summarises the version and the architecture identifier.
--abi-version
Print a key (string) that represents the binary compatibility on a number of aspects. See section 2.21.

ClioPatria (version V3.1.1-51-ga0b30a5)