#include "zpm.h"
 
+/* more usage:
+ * -t : use a temp file, then move into place, possible reverse the sense
+ *  -u : userid
+ *  -g : groupid
+ *  -m : mode (i.e. final mode)
+ *  -l : log all actions
+ *  -d : logging database file, if different
+ *
+ *  check if file exists, if it does, and has the same hash, do
+ *  nothing, unless -f is given
+ */ 
+
 #if 1
 int main(int ac, char **av){
        struct zpm pkg;
                return 1;
        }
        zpm_open(&pkg, av[1]);
-       rv = zpm_extract(&pkg, av[2], av[3], mode);
+       rv = zpm_extract(&pkg, av[2], av[3], 0600);
        zpm_close(&pkg);
+
        return rv ? 0 : 1;
 }
 #else