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

cmd: 'server' option change #1563

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

better0fdead
Copy link

Changed 'server' option, so it now can take several URLs.
e.g '--server 'URL1 URL2 URL3''.

Changed 'server' option, so it now can take several URLs.
e.g '--server 'URL1 URL2 URL3'.
@codecov-commenter
Copy link

codecov-commenter commented Jan 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (89daf1f) 79.16% compared to head (823cca0) 79.17%.

❗ Current head 823cca0 differs from pull request most recent head c5d2a26. Consider uploading reports for the commit c5d2a26 to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1563   +/-   ##
=======================================
  Coverage   79.16%   79.17%           
=======================================
  Files          89       89           
  Lines       11154    11158    +4     
=======================================
+ Hits         8830     8834    +4     
  Misses       2324     2324           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -455,9 +459,10 @@ Enabling completion for Fish:
end)
parser:flag("--dev", "Enable the sub-repositories in rocks servers for "..
"rockspecs of in-development versions.")
parser:option("--server", "Fetch rocks/rockspecs from this server "..
parser:option("--server", "Fetch rocks/rockspecs from this servers "..
Copy link
Member

Choose a reason for hiding this comment

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

I think there is an method in argparse to allow an option to be passed multiple times (resulting in an array of values). I think that would be preferrable to relying on splitting by spaces.

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