mirror of
https://github.com/restic/restic.git
synced 2025-08-24 14:50:23 +00:00
generate: allow passing -
for stdout output
Since generating completions to stdout for multiple shells does not make sense, enforce `-` is supplied only once.
This commit is contained in:
6
changelog/unreleased/issue-2511
Normal file
6
changelog/unreleased/issue-2511
Normal file
@@ -0,0 +1,6 @@
|
||||
Enhancement: Allow generating shell completions to stdout
|
||||
|
||||
Restic `generate` now supports passing `-` passed as file name to `--[shell]-completion` option.
|
||||
|
||||
https://github.com/restic/restic/issues/2511
|
||||
https://github.com/restic/restic/pull/5053
|
Reference in New Issue
Block a user