Skip to content

Commit

Permalink
baseName fix on success log
Browse files Browse the repository at this point in the history
  • Loading branch information
trikko committed Oct 8, 2023
1 parent 237da07 commit 7cdee4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/app.d
Expand Up @@ -393,7 +393,7 @@ tshare /tmp/file3.txt -o hello.txt \x1b[1m# Uploaded as \"hello.txt\"\x1b[0m
{
stderr_write("\r\x1b[1mUpload:\x1b[0m Completed. Yay!");
writeln("\r\x1b[1mLink:\x1b[32m ", url, " \x1b[0m");
writeln("\r\x1b[1mTo remove:\x1b[0m tshare -r ", deleteUrl["https://transfer.sh/".length .. $]);
writeln("\r\x1b[1mTo remove:\x1b[0m " ~ baseName(args[0]) ~ " -r ", deleteUrl["https://transfer.sh/".length .. $]);
}
else {
writeln(url);
Expand Down

0 comments on commit 7cdee4c

Please sign in to comment.