From 77fb54fa9930745b8676ae3a6bc5eab11a2b389b Mon Sep 17 00:00:00 2001 From: Ron Gebauer Date: Sun, 5 Apr 2020 23:27:59 +0200 Subject: [PATCH] In Fish MD5 on BSD now use given String and not -s Signed-off-by: Ron Gebauer --- CHANGELOG.md | 1 + share/functions/__fish_md5.fish | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef1fd11ab..be0e07e9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - `fish --no-execute` will no longer complain about unknown commands or non-matching wildcards, as these could be defined differently at runtime (especially for functions). #977 - `jobs --quiet PID` will no longer print 'no suitable job' if the job for PID does not exist (e.g. because it has finished). #6809 - A variable `fish_kill_signal` will be set to the signal that terminated the last foreground job, or `0` if the job exited normally. +- On BSD systems, with the `-s` option, `fish_md5` does not use the given string, but `-s`. From now on the string is used. ### Syntax changes and new commands diff --git a/share/functions/__fish_md5.fish b/share/functions/__fish_md5.fish index fe0e9f3ae..ca80f458c 100644 --- a/share/functions/__fish_md5.fish +++ b/share/functions/__fish_md5.fish @@ -15,7 +15,7 @@ function __fish_md5 # BSD systems if set -q argv[2] if test $argv[1] = -s - md5 -s $argv[1] + md5 -s $argv[2] else printf (_ "%s: Too many arguments %s\n") fish_md5 $argv end