mirror of
https://github.com/restic/restic.git
synced 2025-03-13 19:41:10 +00:00

In order to run with --stdin-from-command we need to short-circuit some functions similar to how it is handled for the --stdin flag. The only difference here is that --stdin-from-command actually expects that len(args) should be greater 0 whereas --stdin does not expect any args at all. Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>