OS Manuals

/usr/bin/capnp

Cap'n Proto serialization/RPC system - core runtime library

From capnproto 1.5.0-r4 (enterprise-packages), captured 2026-11-08 by running capnp --help (exit 0). permalink

Usage: /usr/bin/capnp [<option>...] <command> [<arg>...]

Command-line tool for Cap'n Proto development and debugging.

Commands:
  compile  Generate source code from schema files.
  convert  Convert messages between binary, text, JSON, etc.
  decode   DEPRECATED (use `convert`)
  encode   DEPRECATED (use `convert`)
  eval     Evaluate a const from a schema file.
  id       Generate a new unique ID.

See '/usr/bin/capnp help <command>' for more information on a specific command.

Options:
    -I<dir>, --import-path=<dir>
        Add <dir> to the list of directories searched for non-relative imports
        (ones that start with a '/').
    --no-standard-import
        Do not add any default import paths; use only those specified by -I.
        Otherwise, typically /usr/include and /usr/local/include are added by
        default.
    --verbose
        Log informational messages to stderr; useful for debugging.
    --version
        Print version information and exit.
    --help
        Display this help text and exit.
Options (5)
OptionDescriptionSource
-I, --import-path dirAdd <dir> to the list of directories searched for non-relative imports (ones that start with a '/').help
--no-standard-importDo not add any default import paths;help
--verboseLog informational messages to stderr;help
--versionPrint version information and exit.help
--helpDisplay this help text and exit.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.