aboutsummaryrefslogtreecommitdiff
path: root/commands/pwd.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/pwd.go')
-rw-r--r--commands/pwd.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/commands/pwd.go b/commands/pwd.go
index 624258ce..a97c6e4e 100644
--- a/commands/pwd.go
+++ b/commands/pwd.go
@@ -1,7 +1,6 @@
package commands
import (
- "errors"
"os"
"time"
@@ -23,9 +22,6 @@ func (PrintWorkDir) Complete(aerc *widgets.Aerc, args []string) []string {
}
func (PrintWorkDir) Execute(aerc *widgets.Aerc, args []string) error {
- if len(args) != 1 {
- return errors.New("Usage: pwd")
- }
pwd, err := os.Getwd()
if err != nil {
return err