mirror of
https://github.com/Googolplexed0/zotify.git
synced 2026-04-25 06:15:55 +03:00
[GH-ISSUE #108] [Bug Report] argparse: cannot use positional argument in mutually exclusive group #94
Labels
No labels
bug
considering
discussion
documentation
enhancement
enhancement
good first issue
help wanted
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/zotify#94
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @damanjit-singh on GitHub (Nov 3, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/108
Originally assigned to: @Googolplexed0 on GitHub.
Zotify Version
v0.10.24
Bug Description
I am running efficient-api branch version and my Python version is 3.11.11 on Oracle Linux Server 9.4. Running zotify gives this:
Bug Triggering Command
zotify
@damanjit-singh commented on GitHub (Nov 3, 2025):
Looks like the solution is to replace:
group.add_argument('urls')with:
group.add_argument('--urls')in main.py@Googolplexed0 commented on GitHub (Nov 4, 2025):
While this change does solve the error, it changes
urlinto an argument that must be explicitly specified. This goes against the preferred usage, where a commands may be as simple aszotify <url>, with no--urlargument in-between. I think I found an alternate fix.