#714316 dcut: multiple -f options don't actually work

#714316#5
Date:
2013-06-27 20:30:17 UTC
From:
To:
The dcut man page claims, under rm:

           -f, --filename=FILENAME
               The file name to be removed. This argument can be repeated, and
               also knows about the shell wildcards *, ?, and [].

However, this does not appear to actually work.  Running dcut rm with
multiple -f options succeeds and uploads a command file, but then DAK
only removes the file given with the last -f option.  The rest appear to
be ignored.

#714316#10
Date:
2015-08-02 21:22:35 UTC
From:
To:
I've been bitten by this bug just now, so I made some tests: it
appears the manpage is ambiguous and it is not "-f FILENAME" to be
repeated but only FILENAME

so instead of

dcut rm -f PATTERN1 -f PATTERN2

what you want is

dcut rm -f PATTERN1 PATTERN2

Regards,