Borgmatic without arguments/parameters should show usage help instead of starting a backup #262
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#262
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
I often type
borgmatic
and hit enter in order to get help on it's subcommands and it always confuses me that it starts a backup instead.Most applications show their usage help without doing anything when called without arguments/parameters so I propose borgmatic to do the same.
I agree that borgmatic is a little different than most command-line applications in this respect, but I don't think we could make a change like this without breaking a number of existing borgmatic uses (whether manual or automated) that rely on just running
borgmatic
directly without any arguments. And I think that's kind of the promise of borgmatic in some ways: Once you get your configuration file set up correctly, you don't have to pass any (or very many) arguments to borgmatic on the command-line.I guess a config option disabled by default would be good for that.
Yup, that could certainly work!