chore: remove short aliases
This commit is contained in:
6
main.go
6
main.go
@ -30,15 +30,11 @@ func main() {
|
||||
|
||||
switch flag.Arg(0) {
|
||||
case "normalize":
|
||||
fallthrough
|
||||
case "n":
|
||||
err := filepath.Walk(*path, normalize)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
case "removesuffix":
|
||||
fallthrough
|
||||
case "rs":
|
||||
suffix := flag.Arg(1)
|
||||
err := filepath.Walk(*path, removeSuffix(suffix))
|
||||
if err != nil {
|
||||
@ -46,8 +42,6 @@ func main() {
|
||||
}
|
||||
removeSuffix(suffix)
|
||||
case "unpack":
|
||||
fallthrough
|
||||
case "up":
|
||||
err := filepath.Walk(*path, unpack)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
Reference in New Issue
Block a user