Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thrift1 installed by fbthrift-2024.04.15.00 doesn't support the --strict argument #5871

Open
yurivict opened this issue Apr 28, 2024 · 0 comments
Labels
affects/none PR/issue: this bug affects none version. severity/none Severity of bug type/bug Type: something is unexpected

Comments

@yurivict
Copy link

$ thrift1 --help
Usage: thrift [options] file
Options:
  -o dir      Set the output directory for gen-* packages
              (default: current directory).
              At most one of this option (-o) or -out (see below) can
              be specified.
  -out dir    Set the output location for generated files
              (no gen-* folder will be created).
              At most one of this option (-out) or -o (see above) can
              be specified.
  -I dir      Add a directory to the list of directories
              searched for include directives
  -nowarn     Suppress all compiler warnings (BAD!)
  -legacy-strict     Strict compiler warnings on (DEPRECATED)
  -v[erbose]  Verbose mode
  -r[ecurse]  Also generate included files
  -debug      Parse debug trace to stdout
  --allow-neg-keys  Allow negative field keys (Used to preserve protocol
                    compatibility with older .thrift files)
  --allow-neg-enum-vals Allow negative enum vals (DEPRECATED)
  --allow-64bit-consts  Do not print warnings about using 64-bit constants
  --gen STR   Generate code with a dynamically-registered generator.
              STR has the form language[:key1=val1[,key2,[key3=val3]]].
              Keys and values are options passed to the generator.
              Many options will not require values.
              If --skip-gen (see below) is specified, then --gen
              cannot be used. Otherwise (i.e., --skip-gen is NOT
              specified), then --gen must be specified at least once,
              and may be specified multiple times (eg. to generate
              multiple languages).  --skip-gen  Skip code generation. This is useful, for example, to
              parse and validate Thrift IDL without generating code
              for any particular language.
              If --skip-gen is specified, no --gen argument may be
              given (see above).
  --record-genfiles FILE
              Save the list of generated files to FILE,
@yurivict yurivict added the type/bug Type: something is unexpected label Apr 28, 2024
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. severity/none Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

1 participant