Regression of argument parsing for default actions #220

Closed
opened 2019-09-22 17:12:06 +00:00 by witten · 1 comment
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 2019-09-22 17:12:13 +00:00
Author
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!
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#220
No description provided.