Skip to content

Command line arguments meant for profiled script are being rejected by mprof #179

@axlan

Description

@axlan

This seems to be another case like #176

For example:
prof run python gnss_analysis/tools/fetch_hitl_metrics.py --build_file tmp/build-list-latest.csv --n_days_master 10
Gives the error:

usage: mprof run [options] program
mprof: error: unrecognized arguments: --build_file tmp/build-list-latest.csv --n_days_master 10

I'm running memory-profiler==0.50.0 with Python 2.7.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions