opkg: improve opkg_install error reporting and include a check to verify repository...
[oweals/opkg-lede.git] / libopkg / args.h
index a47077837323adb9580cd8b5b8590b4ef592285e..08a04df6c5337986d4ff680b49d4b5430d9bcf17 100644 (file)
@@ -35,10 +35,10 @@ struct args
     int nodeps;
     int multiple_providers;
     int query_all;
-    int verbose_wget;
     int verbosity;
     int nocheckfordirorfile;
     int noreadfeedsfile;
+    int autoremove;
     char *offline_root;
     char *offline_root_pre_script_cmd;
     char *offline_root_post_script_cmd;
@@ -63,6 +63,7 @@ typedef struct args args_t;
 #define ARGS_DEFAULT_NODEPS 0
 #define ARGS_DEFAULT_VERBOSE_WGET 0
 #define ARGS_DEFAULT_VERBOSITY 1
+#define ARGS_DEFAULT_AUTOREMOVE 0
 
 int args_init(args_t *args);
 void args_deinit(args_t *args);