Move -l option check up

This commit is contained in:
HonigBij
2015-03-16 16:03:42 +01:00
parent 1a509bbcbc
commit 3aefb643b3

View File

@@ -128,12 +128,13 @@ class fseditCmd(cmd.Cmd):
longls = False
if args.startswith('-l'):
longls = True
args = args[3:]
if not len(args):
path = self.pwd
else:
if args.startswith('-l'):
longls = True
args = args[3:]
path = resolve_reference(self.pwd, args)
if exists(self.fs, path) == False: