Skip to content

The --quiet option doesn't suppress progress messages #417

Description

@akaihola

The scancode --help instructions advise to use the --quiet option to skip printing progress messages:

$ ./scancode --help
...
  --quiet                  Do not print progress messages.
...

However, that option has no effect. I still get the progress messages printed on stdout before the JSON output. This prevents me from running scancode as a subprocess and capturing its output as JSON:

$ ./scancode --quiet -l /tmp/LICENSE
Scanning files for: licenses with 1 process(es)...
Building license detection index...Done.
Scanning files...
Scanning done.
Scan statistics: 1 files scanned in 3s.
Scan options:    licenses with 1 process(es).
Scanning speed:  0.57 files per sec.
Scanning time:   1s.
Indexing time:   1s.
Saving results.
{... result JSON ...}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions