tianon / gosu

Simple Go-based setuid+setgid+setgroups+exec
Apache License 2.0
4.73k stars 321 forks source link

remove useless flag #74

Closed fahedouch closed 5 months ago

fahedouch commented 4 years ago

Signed-off-by: fahedouch fahed.dorgaa@gmail.com

tianon commented 4 years ago

What harm does the flag cause?

fahedouch commented 4 years ago

What harm does the flag cause?

I can't see the -T flag in the man cp , it fails when running on my mac.

kolbma commented 2 years ago

This is only available in the cp from GNU coreutils.

       -T, --no-target-directory
              treat DEST as a normal file
tianon commented 5 months ago

Sorry, I don't have a mac and don't use a mac (also, this is an extremely Linux-centric utility, so anyone trying to test it or implementations of it, which is the intent of this script, should probably be on Linux as well). :bow: :heart: