diff options
Diffstat (limited to 'commands/pwd.go')
-rw-r--r-- | commands/pwd.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/commands/pwd.go b/commands/pwd.go index 9b562313..426be78b 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(args []string) []string { } func (PrintWorkDir) Execute(args []string) error { - if len(args) != 1 { - return errors.New("Usage: pwd") - } pwd, err := os.Getwd() if err != nil { return err |