|
|
|
@ -261,6 +261,10 @@ elif ( active and len(sys.argv) > argiter+1 and sys.argv[argiter+1] == 'r' ):
|
|
|
|
|
print("echo Restored directory: "+restorepath)
|
|
|
|
|
exit()
|
|
|
|
|
|
|
|
|
|
elif ( active and len(sys.argv) > argiter+1 ):
|
|
|
|
|
print("echo Invalid directive: "+sys.argv[argiter+1])
|
|
|
|
|
exit()
|
|
|
|
|
|
|
|
|
|
# File Operations
|
|
|
|
|
if ( (not active and len(sys.argv) == 1) or (active and len(sys.argv) == 2) ):
|
|
|
|
|
# list the contents of the current directory
|
|
|
|
|