warn user if file extension is passed as file name
commitf554e3c5f0212c72bdaef976274e4aae28788dac
authorJoão M. Bezerra <marcospb19@hotmail.com>
Tue, 11 Oct 2022 20:33:46 +0000 (11 17:33 -0300)
committerJoão M. Bezerra <marcospb19@hotmail.com>
Tue, 11 Oct 2022 23:57:55 +0000 (11 20:57 -0300)
tree43ce97a3b1b84330564244a2260f27d749c587ef
parentf8e6075ee4b5bded5a969f95ffa428054e5b49c3
warn user if file extension is passed as file name

example: .tar.gz is a file named .tar with extension .gz

this can be confusing because people might expect .tar.gz to be a
.tar.gz archive, but it's currently not
src/cli.rs
src/extension.rs