mirror of
https://github.com/restic/restic.git
synced 2026-11-14 14:45:04 +00:00
stats: Add shorthand flag -H for host name filter
The default value of the `--host` flag was set to 'H' (the shorthand version of the flag), this caused the snapshot lookup to fail. Also add shorthand `-H` for `backup` command. Closes #2040
This commit is contained in:
1 parent
c8fc72364a
commit
4b3c054257
3 files changed
+13
-2
No files matched your search
@@ -0,0 +1,11 @@
|
||||
Bugfix: Add host name filter shorthand flag for `stats` command
|
||||
|
||||
The default value for `--host` flag was set to 'H' (the shorthand version of
|
||||
the flag), this caused the lookup for the latest snapshot to fail.
|
||||
|
||||
Add shorthand flag `-H` for `--host` (with empty default so if these flags
|
||||
are not specified the latest snapshot will not filter by host name).
|
||||
|
||||
Also add shorthand `-H` for `backup` command.
|
||||
|
||||
https://github.com/restic/restic/issues/2040
|
||||
Reference in new issue
Block a user