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

Support added for memray --version & -V #420

Merged
merged 3 commits into from
Jul 13, 2023

Conversation

apurvakhatri
Copy link
Contributor

*Issue number of the reported bug or feature request: #417 *

Describe your changes
In order for memray to display its own version, I have added an argument to basic parser. Since it is added as an option rather than positional argument, only the init file was modified. Further, README has been updated on how to use the option.

Testing performed
The command "memray --version" or "memray -V" successfully ran on my system (MacOS).

Additional context

apurvakhatri and others added 2 commits July 12, 2023 20:52
Signed-off-by: Apurva Khatri <apurvakhatri2011@gmail.com>
@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: +0.19 🎉

Comparison is base (3ca2337) 84.85% compared to head (8f5cb97) 85.04%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #420      +/-   ##
==========================================
+ Coverage   84.85%   85.04%   +0.19%     
==========================================
  Files          29       29              
  Lines        3631     3631              
==========================================
+ Hits         3081     3088       +7     
+ Misses        550      543       -7     
Flag Coverage Δ
cpp 85.04% <ø> (+0.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@pablogsal pablogsal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

README.md Outdated Show resolved Hide resolved
@pablogsal
Copy link
Member

Thanks a lot for the PR @apurvakhatri 🖤

@pablogsal pablogsal enabled auto-merge (squash) July 13, 2023 10:43
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
@pablogsal pablogsal merged commit c5e168b into bloomberg:main Jul 13, 2023
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants