diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-06-03 12:10:19 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-06-03 12:10:19 +0200 |
commit | 5353e22022029dcfdcb7dd25cc3a98fb9f22a83d (patch) | |
tree | ccbeee3f952dafa0d972484e35b3346b98605d90 /bin | |
parent | 9fb89fa21bccb7869111508871a4205dd2b47e49 (diff) |
bin/ups: use 'stdin' as the name when reading from stdin, rather than '-'
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ups | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ elif len(sys.argv) == 2 and sys.argv[1] != '-': stdin = subprocess.DEVNULL else: src_name = '-' - dst_name = src_name + dst_name = 'stdin' stdin = subprocess.PIPE # try to guess the extension |