Regression of argument parsing for default actions #220

Closed
opened 2 years ago by witten · 1 comments
witten commented 2 years ago
Owner

What I'm trying to do and why

Pass arguments to implicit sub-commands when running the default borgmatic actions (prune, create, check). Why: This was existing functionality used to customize prune, create, or check actions. It apparently regressed in 1.3.17 during the argument parsing refactor.

Steps to reproduce

$ borgmatic --progress

Actual behavior

Error parsing arguments: /root/.local/bin/borgmatic --progress

Expected behavior

The argument to the implicit create action is accepted and the invocation succeeds.

Environment

borgmatic version: 1.3.17

borgmatic installation method: pip install --user as root

Borg version: 1.1.10

Python version: 3.7.4

operating system and version: Manjaro stable

#### What I'm trying to do and why Pass arguments to implicit sub-commands when running the default borgmatic actions (prune, create, check). Why: This was existing functionality used to customize prune, create, or check actions. It apparently regressed in 1.3.17 during the argument parsing refactor. #### Steps to reproduce ```bash $ borgmatic --progress ``` #### Actual behavior ```bash Error parsing arguments: /root/.local/bin/borgmatic --progress ``` #### Expected behavior The argument to the implicit `create` action is accepted and the invocation succeeds. #### Environment **borgmatic version:** 1.3.17 **borgmatic installation method:** `pip install --user` as root **Borg version:** 1.1.10 **Python version:** 3.7.4 **operating system and version:** Manjaro stable
witten added the
bug
label 2 years ago
Poster
Owner

Okay, this has been fixed and released as part of borgmatic 1.3.18. Whew!

Okay, this has been fixed and released as part of borgmatic 1.3.18. Whew!
witten closed this issue 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.